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
/* | |
** get_next_line.c for get_next_line in /home/alies/rendu/CPE_2015_getnextline | |
** | |
** Made by Arnaud Alies | |
** Login <[email protected]> | |
** | |
** Started on Thu Dec 17 13:44:58 2015 Arnaud Alies | |
** Last update Sat Apr 2 12:48:17 2016 alies_a | |
*/ |
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
void my_putnbr(unsigned int nb) | |
{ | |
unsigned int x; | |
x = 1; | |
while ((nb / (x * 10)) > 0) | |
x *= 10; | |
while (x > 0) | |
{ | |
my_putchar((nb / x) % 10 + '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
[Display] | |
FullscreenRefresh=0 | |
Maximized=0 | |
FullscreenWidth=1600 | |
FullscreenHeight=900 | |
WindowedWidth=1366 | |
WindowedHeight=768 | |
Mode=Fullscreen | |
FullscreenMode=Fullscreen | |
HDPixelPlus=1.000000 |
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 | |
sdlog="/sdcard/logbat.txt" | |
log="logbat.txt" | |
result="battery.csv" | |
function print_usage { | |
echo "Usage:" | |
echo "$0 [start | stop | pull]" | |
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
requires("1.41j"); | |
function dprint(content){ | |
if (DEBUG){ | |
print(content); | |
} | |
} | |
function average(array){ |
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/python2 | |
import cv2 | |
import numpy as np | |
import Tkinter | |
import tkMessageBox | |
from tkFileDialog import askopenfilename | |
HELP = """ | |
This script have been made to counter brightness irregularity |
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
from ftplib import FTP | |
import os.path | |
class FtpWalk: | |
def __init__(self, ftp, *path): | |
self._ftp = ftp | |
for c in path: | |
self._ftp.cwd(c) | |
self._path = self._ftp.pwd() |
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 python3 | |
import six | |
import functools | |
from abc import ABCMeta, ABC, abstractmethod | |
class ATest(ABC): | |
@abstractmethod | |
def get(self): | |
pass |
OlderNewer