Skip to content

Instantly share code, notes, and snippets.

$( 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);
}
});
String fontPath = "Face Your Fears.ttf";
Typeface tf = Typeface.createFromAsset(getAssets(), fontPath);
TextView appName = (TextView) findViewById(R.id.textView1);
appName.setTypeface(tf);
#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);