This file contains 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
<?php | |
class RelojEntry { | |
protected $numReloj; | |
protected $userId; | |
protected $date; | |
public function __set($name, $value) { | |
$this->$name = $value; | |
} | |
This file contains 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
#!/usr/bin/python | |
import os | |
import sys | |
from bs4 import BeautifulSoup | |
from urllib2 import urlopen | |
import cgi | |
import csv | |
def fromurltoname(url): |
This file contains 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
#!/usr/bin/env sh | |
# | |
# author: Quentin Sabah | |
# modified: Danilo Dominguez Perez | |
# | |
deploy_dir=$PWD | |
jasmin_repo=http://github.com/Sable/jasmin.git | |
jasmin_branch=develop |
This file contains 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
; restart before running this | |
dpkg --get-selections | \ | |
grep 'linux-image*' | \ | |
awk '{print $1}' | \ | |
egrep -v "linux-image-$(uname -r)|linux-image-generic" | \ | |
while read n | |
do | |
sudo apt-get -y remove $n | |
done |
This file contains 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
class TestActivity extends Activity { | |
private mFilename; | |
public void onCreate(Bundle paramBundle) { | |
Intent localIntent = getIntent(); | |
this.mFilename = localIntent.getData().toString(); | |
} | |
protected void onDestroy() { | |
StringBuilder localStringBuilder; |
NewerOlder