Skip to content

Instantly share code, notes, and snippets.

View simryang's full-sized avatar

Joseph simryang

  • WIZnet
  • 성남시
  • 12:35 (UTC +09:00)
View GitHub Profile
@simryang
simryang / prime.pl
Created April 18, 2010 23:35 — forked from keedi/prime.pl
#!/usr/bin/env perl
use 5.010;
use common::sense;
use Math::Prime::TiedArray;
use List::Compare;
#
# 실행전 설치 모듈 확인
# $ cpanm common::sense Math::Prime::TiedArray List::Compare
@simryang
simryang / scrollableImagesView.js
Created June 29, 2012 11:00
scrollableview with remote images for Titanium Appcelerator
var win = Ti.currentWindow;
var imageCollection = [
'http://example.com/images/1.jpg',
'http://example.com/images/2.jpg',
'http://example.com/images/3.jpg',
'http://example.com/images/4.jpg',
'http://example.com/images/5.jpg',
'http://example.com/images/6.jpg'
];
var scrollGallery = Ti.UI.createScrollableView({
@simryang
simryang / README.md
Created November 5, 2014 09:08
Bugzilla Translation to Korean

Bugzilla Korean Translation based on v4.4 and v4.4.6 Under working... Refer for personal use, I do not garrantee its translation accuracy, correctness as I am not good at English. I'll thank for any suggestion or any ideas, but I do not expect any kinds of feedback.

@simryang
simryang / mac-vendor.txt
Created June 26, 2019 09:36 — forked from aallan/mac-vendor.txt
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?
@simryang
simryang / test.ftm
Created June 16, 2020 08:49
foxterm macro file for test wizfi630s with serial(usb) interface
while (1)
{
WaitChar("Please choose the operation", 0)
BackgroundColor("White")
SendHex("57")
WaitChar("Input Serial Number ==:", 10000)
WaitChar(" TEST ",0)
BackgroundColor("Yellow")
WaitChar("U-Boot ", 0)
BackgroundColor("Red")
@simryang
simryang / com30.xml
Created June 16, 2020 08:58
foxterm session file for test wizfi630s with serial(usb) interface with COM30 port and ftm file
<?xml version="1.0"?>
<FoxTerm windowLayout="tile_vertical" sizeX="1187" sizeY="549" locX="1998" locY="78" xmlVersion="1.1">
<COMPort alias="COM30">
<Connection>
<StartupMacro>D:\doc\Downloads\foxterm_1_5_3_0\wizfi630s_v1.1.0.ftm</StartupMacro>
<Port>COM30</Port>
<Baud>115200</Baud>
</Connection>
<Formatting>
<FontColorBkgd>Red</FontColorBkgd>
try:
while True:
pass
time.sleep(1)
except (KeyboardInterrupt, SystemExit):
pass
finally:
if s_th_enable:
s_th.stop()
import time
import threading
class testthread(threading.Thread):
def __init__(self, testvar=None):
threading.Thread.__init__(self)
self.enabled = False
def stop(self):
self.enabled = False
import sys
n=input()
a=[sys.stdin.readline() for i in range(n)]
print sum(list(map(int,a)))-n+1
# https://www.acmicpc.net/board/view/855
@simryang
simryang / readme_azsphere.txt
Last active October 15, 2020 08:27
abbreviate azsphere to az
make 'd:\aliases.cmd' and type following line
doskey az=azsphere $*
set target in property window of azure sphere developer command prompt to
C:\Windows\System32\cmd.exe /k ""C:\Program Files (x86)\Microsoft Azure Sphere SDK\\InitializeCommandPrompt.cmd" & D:\aliases.cmd"