Skip to content

Instantly share code, notes, and snippets.

View p3nj's full-sized avatar
🙏
Don't think, feeeeeeeeeeeeel

p3nj p3nj

🙏
Don't think, feeeeeeeeeeeeel
View GitHub Profile
@p3nj
p3nj / gist:9738838
Created March 24, 2014 11:56
config.js
var conf = {};
// Run the Kiwi server under a different user/group
conf.user = "";
conf.group = "";
// Log file location
conf.log = "kiwi.log";
@echo off
echo 正在清除系統垃圾檔案中,請稍候......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%ecycled\*.*
del /f /s /q %windir%\*.bak
#include <stdio.h>
#include <stdlib.h>
//简易计算器——加减乘除
main()
{
int a, b, choice, result; //
printf("选择算法:0.加法 1.减法 2.乘法 3.除法 4.结束\n输入您的选择:");
switch(choice = getchar();) //大概是这样 有点忘了
{
case 1:
@p3nj
p3nj / triggerbot
Created June 27, 2015 11:34
simplest triggerbot in csgo base code.
int CrossID;//this variable stores the current CrosshairID
//add the current base and offsets here, ReadAddress is my custom ReadProcessMemory function. You have to find your own online or create it yourself to RPM!
CrossID = ReadAddress(process, base+offsets);
if (CrossID != 0 ) //if there is something in the Crosshair
{
this.BackColor = Color.Green;//just to see if it works
@p3nj
p3nj / updateghost.sh
Created April 29, 2017 11:05
Ghost update script
#!/bin/bash
##### This script is based on DigitalOcean Ghost w/ nginx setup.
clear
echo "========== Stopping Ghost Service =========="
service ghost stop
@p3nj
p3nj / restartPayment()
Last active June 17, 2018 14:02
泰安觀止 訂房付款
function restartPayment() {
var V5O = N0vv;
var w0T,
I3m,
E3m,
m3m;
document[V5O.s8b(82)](V5O.h8b(78))[V5O.s8b(133)] = !!1;
w0T = {};
w0T[V5O.s8b(97)] = V5O.h8b(1) + orderSn;
w0T[V5O.s8b(102)] = {
@p3nj
p3nj / get_beauty.py
Last active July 4, 2018 05:39
預設路徑 D:\Beauty
import requests, re, time, queue, threading
from bs4 import BeautifulSoup
from urllib.request import urlretrieve
from fake_useragent import UserAgent
class myThread (threading.Thread):
def __init__(self, threadID, name, q):
threading.Thread.__init__(self)
self.threadID = threadID
@p3nj
p3nj / main.py
Created August 6, 2018 16:20
歌詞歌詞詞頻統計
lyrics = []
while True:
i = input()
if i == '===':
break
i = i.split()
for j in i:
j = j.lower()
if j == "we're":
lyrics.append('we')
@p3nj
p3nj / main.py
Created August 10, 2018 08:11
[加分題] 動物星球
'''
猴子 2 樹上
2 地上
烏龜 4 水裡
1 樹上
猴子 1 地上
3 樹上
猴子 3 樹上
OUTPUT:

Keybase proof

I hereby claim:

  • I am limeless on github.
  • I am l1m3 (https://keybase.io/l1m3) on keybase.
  • I have a public key ASC5U-rMXb5O9kcEE__AmUoWKpvSp2CHYYXGVgKksiQDdQo

To claim this, I am signing this object: