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
#include <iostream> | |
#include <vector> | |
#include <string> | |
using namespace std; | |
int main() | |
{ | |
vector<string> VS; |
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
#include <iostream> | |
#include <list> | |
using namespace std; | |
int main() | |
{ | |
list<int> JL; | |
JL.push_back(100); | |
JL.push_front(999); |
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
#include <iostream> | |
#include <deque> | |
using namespace std; | |
int main() | |
{ | |
deque<int> JacksDeque; | |
int soo; | |
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
#ifndef UNICODE | |
#define UNICODE | |
#endif | |
#define WIN32_LEAN_AND_MEAN | |
#include <winsock2.h> | |
#include <ws2tcpip.h> | |
#include <stdio.h> |
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
<?xml version=”1.0″ encoding=”utf-8″?> | |
<manifest | |
xmlns:android=”http://schemas.android.com/apk/res/android” | |
android:versionCode=”4″ | |
android:versionName=”1.3″ | |
package=”com.button.phone” > | |
<uses-sdk | |
android:minSdkVersion=”6″ > | |
</uses-sdk> | |
<uses-permission |
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
#include <iostream> | |
#include <stdio.h> | |
#include <string.h> | |
#include <string> | |
#include <sstream> | |
using namespace std; | |
int main() | |
{ |
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
#-*- coding: utf-8 -*- | |
import urllib | |
from bs4 import BeautifulSoup | |
#---------------------------------------------------------------------- | |
## Print all links from a .html | |
def print_type_from_site(fpath,tag1,tag2): | |
f = open(fpath,'r'); | |
lines = f.readlines() |
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
#-*- coding: utf-8 -*- | |
import urllib | |
import csv | |
from bs4 import BeautifulSoup | |
#---------------------------------------------------------------------- | |
## save all links from URL | |
def grap_type_from_url(url,tag1,tag2): | |
soup = BeautifulSoup(urllib.urlopen(url)) | |
links=soup.findAll(tag1) | |
x=[] |
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 urllib | |
from bs4 import BeautifulSoup | |
## Print all JPGs from a Site | |
def down_from_site(type,url): | |
soup = BeautifulSoup(urllib.urlopen(url)) | |
#EDIT - <a> tag + <class> name tag | |
links=soup.findAll('a') | |
#print links | |
x=[] |
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
/* | |
* FlashDumper.c | |
* | |
* Created: 2015-04-04 오후 5:17:30 | |
* Author: Jaeki | |
*/ | |
#define F_CPU 16000000UL | |
#include <avr/io.h> | |
#include <util/delay.h> |