github!

I just learned that codebender is closing up shop. Sometimes my arduino folder feels like it's a mess so I was using codebender for my final code. I guess I should be using github though. I'd like some guidance about how to better use github. I'm familiar with other people's github pages but I'm not sure about how to use my own. Can the instructables community help me out? Thanks!!

Topic by _Amelia_   |  last reply


Embed a github repo into an instructable?

When authoring an instructable, it says you can embed a github repo. I tried all the different URLs I could think of, but none of them worked in the preview. I ended up just linking to the code repo instead of embedding it. How the heck does one go about embedding the code directly? I don't want to have a second place to maintain the code, and it seems like embedding it should be fairly simple, but I must be missing something.

Question by jptrsn   |  last reply


Code embeds from Github display mangled

Embedding a Github gist results in code with random whitespace missing. To reproduce:  1. Edit an Instructable.  2. Click the "add" button, then click "Video".  3. In the URL field, enter the URL of a Github gist (for example, https://gist.github.com/anonymous/c4286979ded2d927b40a71fdd75038df)  4. Click "Preview", then "Done".  5. Save changes to the Instructable, then view it. The embedded code from Github will be mostly correct, but random whitespace characters will be missing (both leading whitespace and whitespace between words).  In the attached screenshot, the code inside the function is supposed to have 4 leading spaces.  The function signature should also read "static int pad_open" instead of running everything together.  You can view the original code using the URL above to compare what's being displayed with what's actually showing up. It's not clear whether this is a bug on the Instructables side or on the Github side.  I don't have any way to debug it from my end, so I thought I'd ask about it here before complaining to Github. I am using Firefox v52.0.2 on Windows 7 (64-bit). Update: I poked around using Firefox's development mode, and it looks like this is indeed a problem on the Instructables side.  I inspected the HTML source for the embedded gist and compared it to what I got directly from github (using 'wget' on the command line to fetch the content).  It appears that the Instructables site is doing some sort of post-processing on the results that is removing critical whitespace:  - Whitespace at the beginning of a line is sometimes deleted.  Lines inside the function in my example should be indented four spaces.  The function's comment block should have all of the star characters lined up vertically; the second row displays correctly, but not the third.  - Whitespace between words with syntax highlighting gets removed.  The function prototype is missing spaces between "static", "int", and "pad_open".  Whitespace between formatted and non-formatted elements seems to be correct, as is seen after the keyword "struct" on that same line. If I turn on Firefox's developer tools (Ctrl+Shift+I), I can edit the page's source to add in the spaces that are present in the straight-from-github version but missing in the Instructables version.  When I do this, the gist displays normally. It feels like something somewhere is trying to compress whitespace in the HTML source in order to save space, but is a bit overzealous and is accidentally eliminating whitespace that's critical for the content to display correctly. Update 2: I have recently seen similar problems when using the HTML view in the pro editor to create a formatted code block manually.  If you manually indent code using " ", publish the Instructable, then edit it, you can see that the non-breaking spaces get converted to normal spaces and are then consolidated (which completely ruins the code's alignment).  This further points to the bug being in the code for the editor, and not on the Github side.

Topic by sparkchaser   |  last reply


How do I install prelude on Emacs?

I am very new to Emacs (as of the 25th) and I learned that prelude adds some functionality to the program. But, on github where it is available for download the directions seem unclear and confusing to me. I don't know whether or not I'm using Curl or Wget and I don't know how to use them if I am. I tried entering the provided lines as a Shell command into Emacs as well as just entering the text in to my command prompt. For the shell command in emacs nothing seems to happen, and for command promp is gives the  "not an exicutable" splerge. I have downloaded the file from GitHub but I don't quite know what to do with it now that I have it. I use Windows XP if that accounts for anything. Any suggestions would be greatly appreciated.

Question by GenAap   |  last reply



publishing Mercurial Repositories online for version control!

Hi, I'm looking for a tutorial on using the version control system of Mercurial (http://mercurial.selenic.com/) to host my repositories and changelog just like they do for Mercurial itself (http://selenic.com/repo/hg), press the graph tab to see those beautiful branches! I've tried using the hgweb method (http://mercurial.selenic.com/wiki/PublishingRepositories) but have had a lot of difficulty. Please advise! Thanks in advance everyone :)

Topic by MechanicalApe   |  last reply


$150 mural drawing robot kit

The robot pictured in this instructable is available for $150.  We've scaled it up as large as 3m*2m at no extra cost. Up to date code and instructions are kept on the github page. Here is the latest video. 

Topic by aggrav8d   |  last reply


how to install software to aurdino ?

I do not know how ti install software to aurdino,i do not know to manage it with processing software ,github software  and aurdino sotware?i wonder if somebody can explain to me step by step,how to download software  for instructables project "How to hack EEG toys with arduino"

Question by milomir   |  last reply


Adafruit's Open Kinect Project

Adafruit has posted a $2,000 bounty for open-source drivers and/or an application for the Kinect X-Box 360 controller. The first person or team to post their succesful open-source documentation to Github can claim the glory and loot. For full details, check out this link: http://www.adafruit.com/blog/2010/11/04/the-open-kinect-project-the-ok-prize-get-1000-bounty-for-kinect-for-xbox-360-open-source-drivers/

Topic by randofo   |  last reply


Feature Requests: Instructables Editor

Insert TablesCan we have an easy way to insert tables in an Instructable? It's a really arduous task to use the HTML editor to display information in a tabular form.Some use cases for tables: Parts & Material List - includes Part specifications, type, quantity, link, etc Electronic Connections - E.g: If an Arduino is connected to a sensor. The Arduino pins are in one column while the sensor pins are in another column. Explaining Code Snippets (see attached image)Embed GitHub Repository Maintaining code is made easy with services like GitHub especially if you want to make updates or bug fixes. You may have come across an Instructable wherein the code no longer works since it was based on outdated libraries & dependencies. It also encourages users to collaborate thereby keeping the code updated. You can also store electronic schematics, 3D printing files, laser cutting files, etc. Code SnippetsI know its currently possible to highlight code within an Instructable. Example:digitalWrite(led,HIGH); In the above case, the entire line is a code snippet.But what if my intention was to explain the function 'digitalWrite()' and instead only want to highlight the word 'digitalWrite()'.This is how it will look in the current editor:If the pin is configured as an INPUT, digitalWrite() will enable (HIGH) or disable (LOW) the internal pullup on the input pin.Just my 2 Rupees.#Feedback

Topic by Jonathanrjpereira   |  last reply


Arduino: RGB leds animation library

Hi everybody! I've developed a a CSS3 inspired, keyframe based color animation library for controlling RGB leds with Arduino. It basically allows you to program custom RGB light patterns by specifying a duration and what color to display in a specific percentage of that duration, without caring about transitions between the colors. I've put a small demo video here https://vimeo.com/79962595 and the library comes with quite a lot of examples. I'd love to hear any suggestion and comments about it! Didn't actually do it for christmas... but I guess it can come in handy these days :) It's here on github https://github.com/fabricacode/arduinoLightAnimation Cheers!

Topic by amicoleo 


Can I post this?

Hi, I am a beginner and I created an account a couple of days before, there are few basic things I would like to know. Kindly bear with me if they feel silly, please guide. I would like to know : Can I post a link in my instructable for the readers which could direct them to popular website like Wikipedia or GitHub (One of the Largest Open Source Community) or someone's personal blogspot for gaining more information on a topic? Can I post a link for download of a free software  for readers related to the project I made instructable on? for example a free software to help readers calculate LED resistance? I would highly appreciate guidance, suggestions. Thanks AMK

Topic by Malik Kanoje   |  last reply


Where would you host a collaborative, open-source electronics project

I have an idea for an open-source electronics project, that would involve some fairly simple hardware and some initially not-too-complicated software. I think it's an idea that could have a significant impact on a lot of people's lives, if it works, and it's a project that would work a lot better if I could attract some collaborative help. Now if this were a software-only project, I'd look at creating a public repository on github, but since there's a hardware aspect, I'm not so sure that'd work. Does anyone know of a free project hosting site that's oriented towards electronics hardware, that includes blogging and forum functionality?

Topic by jdege   |  last reply


Arduino LED matrix scoreboard with buttons code?

The project I want to make is an scoreboard for my Airhockey table that counts score with arcade buttons. I found some examples but have not anything that is exactly like I want to do. What I have bought is: Arduino Uno starter kit with all basic stuff and three 8x8 LED Matrix with MAX7219 drive. I think I should use 5 buttons, 4 for up and down score and 1 for start and reset.  I'am a newbie in Arduino coding and need some help with inputs how I should do. Do someone of you have any code for this or can help me where I can find? I searched on here and Github but I find no one that I think was for me. Here is how I will set it up:

Question by AntonE8   |  last reply


Import from doc, markdown support, and tables

First of all, I want to say that overall, writing my Instructable was a pleasant experience. While I do have some suggestions, I enjoyed the process and felt that the site worked pretty well to allow me to build a good set of instructions. Kudos! I'm sure it's probably been suggested before or I could be missing something with the editor, but I would like to see a way to import from a word doc. I wrote up a lot of the details in a word document before writing my Instructable, and if I were able to import that directly it would have saved a lot of time. I was able to copy and paste, but it removed much of the formatting and I had to reformat sections. It would also be really awesome to be able to copy and paste markdown formatted text into the step instructions. Markdown is used by a lot of sites / software including github, thingiverse, confluence, and jira to name a few I know of off the top of my head. Finally, I really wanted tables in some of the steps to make lists of tools and parts cleaner / easier to read. If tables are supported, I wasn't sure how to create them.

Topic by MarcusW44 


Reporting plagarism: Arduino Hydroponics

Hello, It has recently come to my attention that an instructable here was blatently plagiarized from one of my previous projects, and in fact actually won an award. The instructable in question is: https://www.instructables.com/id/Hyduino-Automated-Hydroponics-with-an-Arduino/ Proof that it ripped off my project can be found here; my original forum post here goes back to 2012, the instructable in question here was posted November 2014: http://forum.arduino.cc/index.php?topic=130344.180  My repository containing my code on github: https://github.com/BillieBricks/Billie-s-Hydroponic-Controller/blob/master/HydroponicControllerV1.1.0 The code from the instructable in question: https://www.instructables.com/files/orig/FSR/83MH/I2G1F678/FSR83MHI2G1F678.ino The code is mine, line for line, with the exception that the plagiarizing author in question removed my comment at the top with my name as the author. I tried to contact the author, but my messages went ignored and the comments on his instructable page were flagged and deleted.  The author in his instructable says "Big thanks to BillieBricks for working out a lot of the code," but in fact the entirety of the code is simply ripped straight off from my project, along with the ideas and implimentation. My desired outcome would be to either see this instructable removed, or to have the author include that the entire project be credited to me, rather than stealing credit for something they didn't do.  Thank you, Billie

Topic by BillieBricks   |  last reply


Agilart project: the visual way of programming microcontrollers from your browser

Hi all, about an year ago we faced a problem with a microcontrollers and how difficult were for us to use them in a simple home solar system. That was the reason to start our project Agilart (www.agilart.com) with the idea to make a simple web based program designer, where we can visually program the microcontrollers.  Now we have the site (www.agilart.com), a short demo video of the idea (http://www.agilart.com/community-and-support/video-tutorials/agilart-getting-started), and a few blog posts where we have tried to give some more details about the project (http://www.agilart.com/blog). We also made microcontroller's part and open source project (http://www.agilart.com/blog/agilart-runtime-in-github). We have plans for open hardware project for microcontollers designed especially for Agilart and providing features on prices under Arduino with Ethernet shield. But why I'm telling you all this? Because we need your feedback and help. We would like to ask you to share what do you think about the approach we propose; what do you think about programming using block-diagrams; do you think you can use such approach yourself; do you need such tool or you prefer programming? This will help us test our hypothesis, to check whether what we think will be useful is actually useful or it is cool only in our heads. This will help us understand does it worth to go further or not. Our vision about Agilart is to provide an easy and intuitive way of working with microcontrollers even from people without technical background. We see it as open source/hardware projects combined with some paid services to cover R&D.; So, thank you for reading this and I will appreciate any feedback from you. Thanks in advance for your time. Ivan Dragoev

Topic by idragoev   |  last reply


Olopede - Functucational Electronics Kits

Hey Instructabalonians! Zachninme and I have been working on starting a company for makers who want to get more out of building awesome things - a kit company for makers who want to learn. We bring you: olopede! "We're the family of insects bringing education back to DIY Electronics. olopede kits are specifically designed to make the oh-so-familiar "black box" kits, parts, and widgets "transparent" to the inquisitive mind. Not only do our kits deeply encourage an understanding of fundamental electrical engineering concepts, but they also challenge the hacker to design circuits that suit his or her needs using a combination of the kits and concepts that we supply. Our kits are designed to demonstrate interesting applications of electronics AND serve to be readily understood by those dabbling in the field. By making our kits interesting and didactic, we hope to engender interest and understanding in not only electronics, but also technology and engineering in general. " We want to make open-source kits that encourage learning the fundamentals in both analog and digital electroncs, as opposed to kits that encourage quick soldering in exchange for a finished black box.  As a maker, you'll be given a PCB with an easy-to-read layout, non-magical components that we can quickly teach you to understand wholly, and several sources of support including full documentation and learner's manual. We've got four awesome kits ready for PCB prototyping including a Turing Machine, The 'oloduino', 'Fungen' - an analog function generator, and 'The Ampliflier' - an analog amplifier, but we need some help with funding!  We set up a project on Kickstarter, where you can trade donations for various rewards depending on how much you donate.  The rewards include free stickers, thank you's, kits, access to our GITHUB repository where we keep all of our files, lessons, a day with us, and a metal sculpture of your favorite arthropod!  The most awesome reward by far, though, is the birth of olopede - a company interested in propagating maker culture by educating the next generation of makers. If you're interested in learning more about olopede - or helping us get the ball rolling - you can check out our Kickstarter page here, or our website @ http://olopede.net. Keep the awesome coming! - Josh and Zach edit:  You can really help us out by spreading the word.  Join our facebook page or follow us on twitter!

Topic by T3h_Muffinator   |  last reply