Skip to content

Instantly share code, notes, and snippets.

View appleneko2001's full-sized avatar
😴
BURNOUT STAGE

appleneko2001

😴
BURNOUT STAGE
View GitHub Profile
@mayuki
mayuki / Program.cs
Created January 22, 2012 08:46
Get Display Size
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
@davispuh
davispuh / steam_console_params.txt
Last active April 23, 2026 09:11
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
/*
ITG3205 3Axis Gyroscope
Sample codes function
for Gyroscope ITG3205.
Codes from:
http://www.varesano.net
Modified by:
-accesscode -
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-browser-offline -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-cef-allow-browser-underlay - Allow webhelper to create BrowserView underlays
-cef-delaypageload - Enable early-out for known page loads
-cef-disable-breakpad - disables breakpad in crash dumps
@novemberr41n
novemberr41n / Windows 8.1 Update 3 - November 2014 Rollup
Created December 21, 2014 16:25
Windows 8.1 Update 3, Windows 8.1 DVD ISO, Microsoft
Windows 8.1 Update 3 - November 2014 Rollup
More Info & Download Link: http://www.nsaneforums.com/topic/235775-windows-81-with-update-3-november-2014-rollup-msdn-release/
========================
Languages: English
========================
Windows 8.1 Pro VL with Update (x86) - DVD (English)
ISO English Release Date: 12/15/2014 Details 2916 MB
File Name: en_windows_8.1_pro_vl_with_update_x86_dvd_6050918.iso
Languages: English
SHA1: E46F44CD74F812EC3FE2E854317A088E85322A68
@uupaa
uupaa / image.resize.in.github.flavored.markdown.md
Last active March 7, 2026 04:23
image resize in github flavored markdown.

Image source

https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

Try resize it!

  • ![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
@thenadz
thenadz / C# Registry Watcher Class
Last active January 28, 2025 13:45
Class to monitor one or more registry values and notify when value changes.
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
public class Program
{
private const string REG_KEY = @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system";
@steinwaywhw
steinwaywhw / One Liner to Download the Latest Release from Github Repo.md
Last active September 15, 2026 23:11
One Liner to Download the Latest Release from Github Repo
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
@Brainiarc7
Brainiarc7 / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Last active July 17, 2026 11:54
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".

@define-private-public
define-private-public / HttpServer.cs
Last active February 17, 2026 09:04
A Simple HTTP server in C#
// Filename: HttpServer.cs
// Author: Benjamin N. Summerton <define-private-public>
// License: Unlicense (http://unlicense.org/)
using System;
using System.IO;
using System.Text;
using System.Net;
using System.Threading.Tasks;