Unix Terminal Coding

Ask me anything   Submit   Hackers
All Tags Eugene Tryfonides is the creator of this place .

twitter.com/egelor:

    "The Stack Pointer is decremented by one when data
    is pushed onto the Stack with the PUSH instruction, and it is decremented by two when the
    return address is pushed onto the Stack with subroutine call or interrupt.The Stack Pointer is
    incremented by one when data is popped from the Stack with the POP instruction, and it is incre-
    mented by two when data is popped from the Stack with return from subroutine RET or return
    from interrupt RETI."
    stack pointer
    — 1 week ago with 5 notes

    #sp 
    @myen vga switch right the output to monitor

    @myen vga switch right the output to monitor

    — 2 weeks ago

    #vga  #monitor  #switch  #circuit 
    as connecting the Not 74ls04 gate atmega

    as connecting the Not 74ls04 gate atmega

    — 2 weeks ago with 1 note

    #atmega 
    @myen Raley coil with 2n2222a.
armega opens closed 12v power supplies.. 220v

    @myen Raley coil with 2n2222a.

    armega opens closed 12v power supplies.. 220v

    — 2 weeks ago

    #raley  #atmega  #2n2222a 
    @myen adding switchs to atmega.



    void setup() {
      // initialize serial communication:
      Serial.begin(38400);
       // initialize the LED pins:
          for (int thisPin = 4; thisPin < 13; thisPin++) {
            pinMode(thisPin, OUTPUT);
          }
    }

    void loop() {
      // read the sensor:
      if (Serial.available() > 0) {
        int inByte = Serial.read();
        // do something different depending on the character received.  
        // The switch statement expects single number values for each case;
        // in this exmaple, though, you’re using single quotes to tell
        // the controller to get the ASCII value for the character.  For
        // example ‘a’ = 97, ‘b’ = 98, and so forth:

        switch (inByte) {
        case ‘a’:    
          digitalWrite(13, LOW);
          digitalWrite(5,LOW);
          digitalWrite(6,LOW);
          break;
        case ‘b’:    
          digitalWrite(13, LOW);
          digitalWrite(5,0);
          digitalWrite(6,1);
          break;
        case ‘c’:    

    Read more
    — 2 weeks ago with 1 note

    #switch 
    @myen egelor/tiny-sc →
    — 2 weeks ago

    #sc  #tiny-sc  #SuperCollider 
    jtoprocessing:


PImage img;
final float NUM = 200;
final float AMT = 15;
void setup() {
  img = loadImage("http://distilleryimage4.ak.instagram.com/"
   + "f3e1d210a80a11e3bd450e9d6b8222c0_8.jpg");
  size(img.width, img.height);
  background(255);
}
PImage block;
void draw() {
  image(img, 0, 0);
  for(int i = 0; i &lt; NUM; i++) {
    block = img.get(0, (int) (height * i / NUM), 
      width, (int) (height / NUM));
    image(block, random(-1 * AMT, AMT), height * i / NUM);
  }
}

    jtoprocessing:

    
    PImage img;
    final float NUM = 200;
    final float AMT = 15;
    void setup() {
      img = loadImage("http://distilleryimage4.ak.instagram.com/"
       + "f3e1d210a80a11e3bd450e9d6b8222c0_8.jpg");
      size(img.width, img.height);
      background(255);
    }
    PImage block;
    void draw() {
      image(img, 0, 0);
      for(int i = 0; i < NUM; i++) {
        block = img.get(0, (int) (height * i / NUM), 
          width, (int) (height / NUM));
        image(block, random(-1 * AMT, AMT), height * i / NUM);
      }
    }
    

    (via fyprocessing)

    — 1 month ago with 68 notes

    #processing 
    @myen Arduino wifi hack -- →

    egelor:

    • My hacked WiShield package. Install it like any other Arduino library, in your sketch folder.
      The WiShield code is GPLed, so I assume this is okay to share. If Async Labs tells me otherwise, I’ll take it down.
    • My Arduino core package for uploading to an ATMega168 from the Arduino…
    — 1 month ago with 1 note

    #wifi  #hakcs  #arduino 
    rdmv:

Carried out some listening tests earlier today in the Audix studio.

    rdmv:

    Carried out some listening tests earlier today in the Audix studio.

    — 1 month ago with 6 notes

    #Audix Studio 
    "cat /proc/asound/cards
    lsusb
    nano /etc/modprobe.d/alsa-base.conf
    udevadm info -a -p /sys/class/sound/card1
    jack_load -i -d hw:1 -i12 -o10 seasound audioadapter"
    @myen  jack_load -i -d hw:1 -i12 -o10 seasound audioadapter
    — 1 month ago

    #jackd 
    @myen UbuntuStudio/UsbAudioDevices

    Introduction

    Most modern Linux distributions use a hot-pluggable architecture for USB devices. This is very useful for everyday use, but it becomes difficult for pro-audio use, as ALSA device numbers (hw:X) are not stable across reboots, or even when removed and reinserted. This means that Jack has to be reconfigured after every restart or change.

    This document describes a method of maintaining ALSA device numbers for USB devices, including MIDI devices. It is not intended for beginning users, as the configuration is relatively arcane.

    Read more
    — 1 month ago

    #multiple soundcards 
    fxb fxp effects - →
    — 1 month ago

    #fxb  #fxp