Skip to content

Instantly share code, notes, and snippets.

View Ishibasystems's full-sized avatar

共同資財理工研究会イシバシステムズ(共用) Ishibasystems

View GitHub Profile
10 !'****** オニゴッコ ******
20 !'WIDHT 80,25
30 LET X1=0
LET Y1=0
40 LET X2=0
LET Y2=0
50 LET X3=30
LET Y3=12
60 LET X4=30
LET Y4=12
// ==UserScript==
// @name NoSessionReloader
// @namespace https://gist.github.com/Ishibasystems/7974317c7cb801346cf62c8c1b8c4e96
// @version 0.0.2
// @description Noセッションリローダー
// @author Ishibasystems
// @match *://akizukidenshi.com/*
// @match *://eleshop.jp/*
// @match *://www.jreastmall.com/*
// @match *://pro.kohnan-eshop.comv/*
@Ishibasystems
Ishibasystems / suspend.c
Created December 22, 2017 14:08
コマンドラインからWindowsをスリープする
/* SetSuspendState suspend.c */
/* コマンドラインからWindowsをスリープする */
/* 2017.12.22, 10RU004, 石橋祥太 */
/* lcc-win32、lcc-win64でコンパイル確認 */
/* lcc.exe suspend.c */
/* lcclnk.exe -subsystem windows -o suspend.exe suspend.obj */
/* del suspend.obj */
#include <windows.h>
#!/usr/local/bin/python3
# -*- coding: utf-8 -*-
import datetime
import youtube_dl
import subprocess
from sys import exit, argv
from os.path import exists
from modules import text
from traceback import format_exc
#!/usr/local/bin/python3
# -*- coding: utf-8 -*-
import tweepy
import datetime
from os import mkdir
from sys import exit, path
from time import sleep
from time import mktime
from os.path import exists
#!/usr/local/bin/python3
# -*- coding: utf-8 -*-
import tweepy
from sys import exit
from time import sleep
from os.path import exists
from modules import pushbullet, text, machine
from traceback import format_exc
from itertools import zip_longest
@Ishibasystems
Ishibasystems / tdu_ai_tweet.py
Created July 15, 2016 16:07
TDU_AIリプライ等価コード(10分毎)
#! /usr/local/bin/python3
# -*- coding: utf-8 -*-
import tweepy
from sys import exit
from random import choice
from modules import machine, text
from traceback import format_exc
conf = machine.set()
screen ,385,140
*START
CLS 0
PRINT "aX^2+bX+c=0の形まで解く"
title "2次方程式計算機"
POS 0,18
print"aは?"
POS 0,42
print"bは?"
POS 0,66
@Ishibasystems
Ishibasystems / LME-310FBW.C
Last active January 5, 2019 00:51
UART出力インターフェイスユニット
#include "LPC8xx.h"
#include "lpc8xx_gpio.h"
#include "lpc8xx_mrt.h"
#include "lpc8xx_uart.h"
extern volatile uint32_t mrt_counter;
extern volatile uint32_t UARTRxCount;
extern volatile uint32_t RxErrorCount;
extern volatile uint8_t UARTRxBuffer[BUFSIZE];
#!/bin/sh
line=`smartctl -a /dev/$cnt | sed -e 's/^ *//g' -e 's/ */,/g'`
for cnt in `sysctl -a | grep kern.disks | sed -e 's/kern.disks: //'`
do
line=`smartctl -a /dev/$cnt`
name=${cnt}_status.log
#echo ${cnt} >> text.log