This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $( document ).ready(function() { | |
| var lista = $('.block-post-title'); | |
| for(var i = 0; i < lista.length; i++){ | |
| var url = $(lista[i]).find('a').attr('href'); | |
| console.log(url); | |
| window.open(url); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String fontPath = "Face Your Fears.ttf"; | |
| Typeface tf = Typeface.createFromAsset(getAssets(), fontPath); | |
| TextView appName = (TextView) findViewById(R.id.textView1); | |
| appName.setTypeface(tf); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define irLedPin 4 // IR Led on this pin | |
| #define irSensorPin 5 // IR sensor on this pin | |
| int irRead(int readPin, int triggerPin); //function prototype | |
| void setup() | |
| { | |
| pinMode(irSensorPin, INPUT); | |
| pinMode(irLedPin, OUTPUT); | |
| Serial.begin(9600); |
NewerOlder