Skip to content

Instantly share code, notes, and snippets.

@jack23912
jack23912 / without-auth_e-book_tutorial_免登入電子書教學.md
Created December 23, 2022 07:21
教學用電子書與相關工具免登入教學 | 本腳本用於繞過台灣電子書與教學工具的前端身份驗證,達成不需要教師帳號即可使用。支援 翰林、南一、康軒、何嘉仁 四大出版社 | 請勿將本腳本作為抄答案、侵權等惡意用途,使用本腳本者,請自行承擔所有後果與風險

教學用電子書與相關工具免登入教學

使用前請務必閱讀 免責聲明

免責聲明

請勿將本腳本作為抄答案、侵權等惡意用途,使用本腳本者,請自行承擔所有後果與風險。

簡介

@jack23912
jack23912 / windows10activation
Created August 4, 2021 07:33
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
@jack23912
jack23912 / .. MediaCreationTool.bat ..md
Created June 1, 2021 05:03 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support

use download ZIP button or pastebin link to get the script, as saving the Raw file breaks line endings

Preview

Dialogs to pick version, then to pick Default (vanilla MCT) and Auto-Upgrade or Create-Media (enhanced)

Enhanced script name args parsing - just rename the script with:
auto MediaCreationTool.bat to auto upgrade 21H1 - unattended, usually straight to desktop
auto update 1909 MediaCreationTool.bat to auto upgrade 1909 with Dynamic Update (latest LCU)
pro auto 20H2 MediaCreationTool.bat to auto upgrade 20H2 and force Professional edition

@jack23912
jack23912 / chrdev.c
Created July 3, 2020 04:00 — forked from itrobotics/chrdev.c
a simple char device example for linux module
/*******************************************************************************
* Copyright (c) 2015 Song Yang @ ittraining
*
* All rights reserved.
* This program is free to use, but the ban on selling behavior.
* Modify the program must keep all the original text description.
*
* 保留所有權利。
* 本程式可任意使用,但是禁止販售行為。
* 修改程式時必須保留所有原有文字說明。
@jack23912
jack23912 / timertest.c
Created December 25, 2019 08:29 — forked from maggocnx/timertest.c
Timer example
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>
unsigned long timer_interval_ns = 1e6;
static struct hrtimer hr_timer;
enum hrtimer_restart timer_callback( struct hrtimer *timer_for_restart )
{
@jack23912
jack23912 / menu.lst
Created November 21, 2018 02:46 — forked from fleger/menu.lst
grub4dos menu.lst for bootable USB stick
color red/black white/black
timeout 30
default 0
title Chakra 2011.04-r1 x86_64
find --set-root /boot/chakra/chakra-2011.04-r1-x86_64.iso
map --heads=0 --sectors-per-track=0 /boot/chakra/chakra-2011.04-r1-x86_64.iso (hd32)
map --hook
root (hd32)
kernel /chakra/boot/x86_64/vmlinuz26 edd=off quiet chakraisolabel=CL_201104_r1 lang=fr nonfree=yes radeon.modeset=0 xdriver=no img_dev=/dev/disk/by-label/MBOOT img_loop=/boot/chakra/chakra-2011.04-r1-x86_64.iso
@jack23912
jack23912 / spectrum.m
Created September 21, 2018 09:09 — forked from akiatoji/spectrum.m
Simple Matlab/Octave code to take time domain signal to frequency domain using FFT. With plots. Wheee!
% Take 100Hz signal, amplitude modulate it with 2.5KHz, then run it through FFT
clear ; close all; clc
freq1 = 100;
period1 = 1 / freq1;
w1 = 2 * pi * freq1;
num_tsteps = 1000;
num_periods = 2;
tstep = num_periods * period1 / num_tsteps;
t = 0:tstep:(num_periods * period1);
'#######################################################
'#
'# Sending email by VB script
'#
'#
'#######################################################
Option Explicit
'########## 環境に応じて変更 ここから ##########
@jack23912
jack23912 / reclaimWindows10.ps1
Created March 9, 2018 02:44 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults)
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.10.1, 2017-11-25
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, 'smart' features, and 3rd party bloat ...
@jack23912
jack23912 / membench.c
Created November 17, 2017 02:33 — forked from zyxar/membench.c
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#if defined(__i386__)
static __inline__ unsigned long long rdtsc(void)
{
unsigned long long int x;