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
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\ | |
LaunchServices.framework/Versions/A/Support/\ | |
lsregister -kill -r -domain local -domain user | |
killall Finder |
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
width: 100px; | |
height: 100px; | |
background-color: red; | |
position: absolute; | |
top:0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
margin: auto; |
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 PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
import sys | |
""" | |
UI Element = UI Widget | |
Qmain - the main window of the application. | |
QtDialog - a menu window that's inside the app | |
Handler = event listener, events that are not handled are disregarded |
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 <SPI.h> | |
#include <MFRC522.h> | |
#define SS_PIN 11 /* Slave Select pin, maps to SDA */ | |
#define RST_PIN 6 /* RST pin, a digital pin should suffice*/ | |
/* Create the mfrc522 object */ | |
MFRC522 mfrc522(SS_PIN, RST_PIN); | |
/* Create the key. They key object will be used for Key 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
""" | |
Project: A plagiarism detection tool based on the LCS algorithm | |
optional arguments: | |
-h, --help show this help message and exit | |
-p file file, --parse file file | |
Compare two files | |
-t dirname, --tabular dirname | |
Produce a table for each distinct .txt files |
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
// Compare the Triplets | |
// Metonimie 22 Jun 2017 | |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
) |
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
package main | |
import ( | |
"net" | |
"log" | |
"io" | |
"os" | |
"io/ioutil" | |
"bufio" | |
"strings" |
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
/* | |
Fisier txt. | |
Count letters? | |
a: 20 | |
b: 55 | |
z: 33 | |
... |
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 <dirent.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <string.h> | |
int OUTPUT_FILE; |
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 <stdlib.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#include <dirent.h> | |
#include <string.h> | |
/* | |
1. Un program care scanfile |
OlderNewer