Skip to content

Instantly share code, notes, and snippets.

View libnumafly's full-sized avatar
🤔

Kensei Sakai libnumafly

🤔
View GitHub Profile
diff --git a/feeds.conf b/feeds.conf
new file mode 100644
index 00000000..7dca392f
--- /dev/null
+++ b/feeds.conf
@@ -0,0 +1,4 @@
+src-git packages https://github.com/openwrt/packages.git^8e3a1824645f5e73ec44c897ac0755c53fb4a1f8
+src-git luci https://github.com/openwrt/luci.git^7739e9f5b03b830f51d53c384be4baef95054cb3
+src-git routing https://github.com/openwrt/routing.git^83ef3784a9092cfd0a900cc28e2ed4e13671d667
+src-git telephony https://github.com/openwrt/telephony.git^9746ae8f964e18f04b64fbe1956366954ff223f8
diff --git a/src/Cedar/Server.c b/src/Cedar/Server.c
index 1aad0d9..af631eb 100644
--- a/src/Cedar/Server.c
+++ b/src/Cedar/Server.c
@@ -10749,23 +10749,7 @@ void SiGetCurrentRegion(CEDAR *c, char *region, UINT region_size)
//
bool SiIsEnterpriseFunctionsRestrictedOnOpenSource(CEDAR *c)
{
- char region[128];
- bool ret = false;
@echo off
echo.
if "%2"=="" ( echo Too few arguments. && exit /b )
set ScratchDir=SCRATCH
set TargetImage=%1
set PackagePath1=%2
set PackagePath2=%3
@echo off
echo.
if "%2"=="" ( echo Too few arguments. && exit /b )
set WorkDir=TMP
set ESDFile=%1
set PackagePath1=%2
set PackagePath2=%3
@libnumafly
libnumafly / kill-IFP6
Last active November 13, 2019 10:00
某社の某フィルタリングソフトの動作を止める用 Raw表示から名前を付けて.cmd形式で保存してください
sc failure IFP6MainService reset=0 actions=/////
for /l %%n in (1,1,10) do (
TASKKILL /F /FI "IMAGENAME eq nc6*"
)
sc stop ifp6wfp
package test;
public class ASTERLISKPIRAMID {
private static int a;
private static int b;
private static String AA;
public static void main(String[] args) {
@libnumafly
libnumafly / get_jrkanto_status.sh
Last active April 14, 2017 13:11 — forked from gin135/get_jrkanto_status.sh
JR関東地方の運行状況を取得するシェル芸
#!/bin/sh
curl -s http://traininfo.jreast.co.jp/train_info/kanto.aspx |
nkf -Lu |
grep -A 1 'text-tit-xlarge' |
sed '/acess_i/s/.*alt="\([^"]*\)".*/\1/' |
sed 's/<[^>]*>//g' |
tr -d -- '- ' |
awk NF=NF |
xargs -n 2