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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLG3e6wGWFB/k+t3/g3wOGcVGnZIPhYNWBZZVa5tbSDmlzIwlV8Akc3JWyQsy3keMBtKt98n3LENrnpf1QW5338PYSDZq5KTypXfk9ooSH8OXRW1C6EP/pycr5m1bSoC9nSytBfRemcozSik5xsm9F7X2DQY81TwlydoNAxDeXX4XHaZosk1+/AvnlYcUrurjOAquYemWZOffcUjUmzD4G9ERsEV6uEH15pBJiZCOpyoR4qHn4shPRu/4b7/8SnWDz7uIkvorWwUndWNm6irHKfZfG+yZ0Tco4xbNmSlGIp4zM4aMck915N1gZO1WBP/l3+j+1E68xCVUANBykGqSF [email protected] |
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
#!python3 | |
import appex, ui | |
import webbrowser | |
import requests | |
from datetime import datetime as dt | |
import time | |
NOTIF_RATE = 90.5 | |
ON_CLICK_URI = 'safari-https://amaten.com/exhibitions/amazon' |
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
#include "time.h" | |
#include <stdio.h> | |
#define EXPIRATION 3600*24 | |
#define WAIT_TIME 10 | |
typedef struct _url_list | |
{ | |
char *url,*host; | |
int port; | |
time_t access_time; |
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
.text | |
.global _start | |
.code 16 | |
.syntax unified | |
.type _start, function | |
_start: | |
@ clear registers | |
mov r0, #0 | |
mov r1, #0 |
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
public class Stack { | |
int stack[]; | |
int unsigned nelem; | |
public Stack(){ //Constructor | |
nelem = 0; | |
stack = new int[1000]; | |
} | |
public synchronized void push(int d){ |
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
public synchronized void get() { | |
while( buf == null ){ | |
wait(); | |
} | |
notify(); | |
return buf; | |
} |
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
rotate x n | |
| n == 0 = x | |
| n >= (length x) = rotate x (mod n (length x)) | |
| otherwise = rotate (tail x) (n-1) ++ [head x] | |
list = [5..8] |
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
pair f [] = [] | |
pair f (x:[]) = [] | |
pair f (x:xs:xss) = [f x xs] ++ pair f xss | |
-- assure that pair returns list | |
list = [1,2,3,4,5,6] |
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
#include "stdio.h" | |
#include "time.h" | |
int main(int argc, char const *argv[]) | |
{ | |
clock_t t1, t2; | |
t1 = clock(); | |
tarai(13,5,0); | |
t2 = clock(); | |
printf("finished in %d ms\n",(int)(t2-t1)); |