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
import tweepy | |
#put here your app token and secret | |
consumer_token = "XXXXXX" | |
consumer_secret = "XXXXXX" | |
auth = tweepy.OAuthHandler(consumer_token,consumer_secret) | |
try: | |
#If token values are available set them |
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
# Enter your code here. Read input from STDIN. Print output to STDOUT | |
import sys | |
def isSquare(sides): | |
if len(sides)!=4: | |
return False | |
if sides[0]==sides[1] and sides[2]==sides[3] and sides[1]==sides[2]: | |
return True | |
return False | |
def isRectangle(sides): |
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
#!/bin/bash | |
Red='\e[0;31m' | |
allowAbort=true; | |
exitHandler(){ | |
if $allowAbort; then | |
echo "LULLOOOOOOOOOOOOOOOOOOOOOOOOO" | |
rm tmp count; | |
exit 1; |
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
/* Simple program that detects if a string is an anagram of the other | |
* Author: Antonello Galipò | |
*/ | |
#include <iostream> | |
#include <string> | |
#include <algorithm> | |
using std::sort; | |
using std::cout; |
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
/* | |
* Author: Antonello Galipò | |
* Merge sort implementation in c++ | |
*/ | |
#include <iostream> | |
using std::cout; | |
using std::endl; | |
using std::string; | |
using std::memcpy; |
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
#!/bin/bash | |
seasonNo=$1 | |
maxNo=$2 | |
if [ "$#" -ne "2" ]; then | |
echo "Illegal number of parameters" | |
echo "Usage: $0 seasonNumber episodeNumber" | |
fi |
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
#!/bin/python | |
import sys | |
if __name__ == "__main__": | |
n = int(raw_input().strip()) | |
m = int(raw_input().strip()) | |
grid = [[0 for k in range(n)] for i in range(n)] |
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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.IO; | |
using System.Reflection; | |
using System.Text; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace webnetconf.website.Helpers |
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
<html> | |
<script src="three.js-master/build/three.js"></script> | |
<body> | |
</body> | |
<script> | |
var renderer; | |
var scene; |
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
import qi | |
import time | |
import sys | |
import almath | |
from matplotlib import pyplot as plt | |
import math | |
import random | |
# robotIP = "150.145.115.50" |
OlderNewer