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
func BinaryCount(n int, result string){ | |
if n == len(result) { | |
fmt.Println(result) | |
} else { | |
BinaryCount(n, result + "0") | |
BinaryCount(n, result + "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
package main | |
import "fmt" | |
func main() { | |
BinaryCount(3, "") | |
} | |
func BinaryCount(n int, result string){ | |
if n == len(result) { |
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; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Kaixo, mundua!"); | |
} | |
} |
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
print('Kaixo, mundua!') |
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 | |
echo Backing up your sources.list... | |
cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
echo Adding the sid repo to sources.list... | |
echo deb http://ftp.us.debian.org/debian/ sid main >> /etc/apt/sources.list | |
echo Updating the sid packages list... | |
apt-get update |
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, datetime, time | |
CONSUMER_KEY ="zure_consumer_key" | |
CONSUMER_SECRET = "zure_consumer_secret" | |
ACCESS_KEY = "zure_access_key" | |
ACCESS_SECRET = "zure_access_secret" | |
def txiokatu_ordua(): | |
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) | |
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET) |