DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, August 2018
Copyright (C) 2018 sakakendo <sakakendo0321@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
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 <3694.h> | |
int main (void){ | |
/*初期化*/ | |
//IO.PMR5.BYTE&=0xe7; | |
IO.PCR8|=0xff; | |
/*値の設定*/ | |
IO.PDR8.BYTE|=0x40; | |
IO.PDR8.BYTE&=0xff; |
- Foo
- Bar
- Baz
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 apscheduler.schedulers.background import BackgroundScheduler | |
#from apscheduler.schedulers.blocking import BlockingScheduler | |
from xml.dom import minidom | |
import os,time,logging,re,datetime,requests,json,random | |
from bs4 import BeautifulSoup | |
from slackclient import SlackClient | |
from pytz import utc | |
import wikipedia | |
logging.basicConfig(filename='info.log',level=logging.INFO) |
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
const puppeteer = require("puppeteer"); | |
const request = require("request"); | |
const fs = require("fs"); | |
const jsdom=require('jsdom'); | |
const {RTMClient}=require('@slack/client'); | |
const rtm=new RTMClient(process.env.SLACK_TOKEN); | |
rtm.start(); | |
var slack_id; |
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
!pip3 install requests_oauthlib | |
from requests_oauthlib import OAuth1Session | |
from IPython.display import Image,display_jpeg | |
import json,requests | |
CK='' | |
CS='' | |
AT='' | |
AS='' | |
twitter=OAuth1Session(CK,CS,AT,AS) |
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
>>> sche2018-05-14 14:02:00.002022every min2018-05-14 14:02:00.003023 | |
sche2018-05-14 14:03:00.003838every min2018-05-14 14:03:00.005838 | |
sche2018-05-14 14:04:00.007090every min2018-05-14 14:04:00.008587 | |
sche2018-05-14 14:05:00.004284every min2018-05-14 14:05:00.005785 | |
sche2018-05-14 14:06:00.004524every min2018-05-14 14:06:00.006040 |
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 | |
# Installs the broadcom-wl kernel module with DKMS | |
# Tested under Fedora 23, will likely work with other versions/distros | |
# Author: Steven Mirabito <smirabito@csh.rit.edu> | |
# Create a work directory | |
mkdir -p /tmp/broadcom | |
cd /tmp/broadcom | |
# Download the module from Broadcom (http://www.broadcom.com/support/?gid=1) |
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
# coding: utf-8 | |
# Your code here! | |
class C: | |
def __init__(self): | |
print(dir(),type(self)) | |
def f(self): | |
print(dir()) | |
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
# coding: utf-8 | |
# Your code here! | |
dir() | |
val=3 | |
print(dir(),__builtins__,__cached__) | |
for d in dir(): | |
print(d,type(d)) | |
# if type(d) is type('str'): | |
import builtins |