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
// in src/ethereum/ZeroDollarHomePage.sol | |
contract ZeroDollarHomePage { | |
uint constant ShaLength = 40; | |
enum ResponseCodes { | |
Ok, | |
InvalidPullRequestId, | |
InvalidAuthorName, |
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
var express = require('express') | |
var bodyParser = require('body-parser') | |
var request = require('request') | |
var app = express() | |
app.set('port', (process.env.PORT || 5000)) | |
// Process application/x-www-form-urlencoded | |
app.use(bodyParser.urlencoded({extended: false})) |
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
import urllib | |
import urllib.request | |
from bs4 import BeautifulSoup | |
theurl = "Profile Url which you want to scrap //Put your profile" | |
thepage = urllib.request.urlopen(theurl) | |
soup = BeautifulSoup(thepage,"html.parser") | |
print(soup.title.text) |
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
#!/bin/bash | |
#disables control c | |
trap '' 2 | |
# disables control z | |
trap "" SIGTSTP | |
color='\E[30;40m' | |
clear | |
echo "Formating disk(s): " /dev/sd* | |
sleep 2 | |
echo "Initializing..." |
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 python | |
# encoding: utf-8 | |
import tweepy #https://github.com/tweepy/tweepy | |
import csv | |
#Twitter API credentials | |
consumer_key = "" | |
consumer_secret = "" | |
access_key = "" |
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
import urllib2 | |
import json | |
import datetime | |
import os.path, time | |
from os.path import expanduser | |
import gconf | |
import os | |
import commands | |
import ctypes |
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
netsh wlan stop hostednetwork | |
pause |
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
<a-scene antialias="true"> | |
<!-- Camera --> | |
<a-entity position="0 1.6 0" rotation='0 -145 0'> | |
<a-entity camera look-controls wasd-controls></a-entity> | |
</a-entity> | |
<a-sky color="#ECECEC"></a-sky> | |
</a-scene> |