Skip to content

Instantly share code, notes, and snippets.

View sCrewLoU's full-sized avatar
💭
_fwerkin_.twerkin_(forrealtwerking)=aintdoingshit~/.fr

lo•uscrew sCrewLoU

💭
_fwerkin_.twerkin_(forrealtwerking)=aintdoingshit~/.fr
  • inceptioncollection
  • Earf
View GitHub Profile
@sCrewLoU
sCrewLoU / ln-html-tag
Created January 10, 2026 05:50 — forked from frankstallone/ln-html-tag
Modification of Paul Irish's HTML tag with IE conditionals and .no-js for Modernizr for LexisNexis Martindale-Hubbell Web Visibility Solution Products
<!--[if lt IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 ie7" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie10 lt-ie9 ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]> <html class="no-js lt-ie10 ie9" lang="en"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
@sCrewLoU
sCrewLoU / 6432a.c
Created February 15, 2025 04:41 — forked from davidwoodfield/6432a.c
64 bit to 32bit integer
#include <stdio.h>
int main()
{
printf("\n------------------------- START ----------------------------\n");
/*
* Start off with a 64 bit number
*
* Binary = 00000010 00000010 00000010 00000010
@sCrewLoU
sCrewLoU / com.apple.screensharing.agent.launchd
Created December 24, 2024 12:37 — forked from inC3ASE/com.apple.screensharing.agent.launchd
//private/etccom.apple.screensharing.agent.launchd may be useful but Id have no idea what to do with it
416c6c20776f726b20616e64206e6f20706c6179206d616b65204a61636b20612064756c6c20626f79
@sCrewLoU
sCrewLoU / README.md
Created July 22, 2024 12:18 — forked from mowings/README.md
Set up xhyve with Ubuntu 16.04

Introduction

Setting up an OS to work with xhyve can be a bit tricky, but it's not impossible. These intructions should be generally applicable to most versions of Linux.

Create a disk image file

Xhyve will use a file as a logical disk. Be sure you have the filesize you need, because growing the file later is tricky to impossible (you could try to use qcow or similar to get around this, but qcow volumes can be tricky to mount).

dd if=/dev/zero of=hdd.img bs=1g count=32 # Create a 32 gig disk. Raise 'count' as desired
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>innsbruck</key>
<array>
<integer>0</integer>
<integer>1</integer>
<integer>2</integer>
<integer>3</integer>
@sCrewLoU
sCrewLoU / Settings.plist
Created June 9, 2024 18:12 — forked from inC3ASE/Settings.plist
usr/share/mecabra/ja
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>kAverageLikelihood</key>
<real>-1.5</real>
<key>kBigramLearningBaseCost</key>
<integer>-2000</integer>
<key>kBigramLearningPrefixBaseCost</key>
<integer>-900</integer>
@sCrewLoU
sCrewLoU / PosInfo.plist
Created June 9, 2024 18:11 — forked from inC3ASE/PosInfo.plist
mecabra/ja
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>adjectivePosID</key>
<integer>1396</integer>
<key>adverbPosID</key>
<integer>19</integer>
<key>auxVerbRegionBeginPosID</key>
<integer>20</integer>
@sCrewLoU
sCrewLoU / gb2312-utf8-convert.js
Created November 26, 2023 08:26 — forked from 19317362/gb2312-utf8-convert.js
Convert between gb2312 and utf8 using javascript
http://freecode-freecode.blogspot.com/2008/11/how-to-gbkgb2312-and-utf-8-encoding.html
GB2312UTF8 = {
Dig2Dec : function(s){
var retV = 0;
if(s.length == 4){
for(var i = 0; i < 4; i ++){
retV += eval(s.charAt(i)) * Math.pow(2, 3 - i);
}
return retV;
This file has been truncated, but you can view the full file.
; ModuleID = 'core.3a1fbbbh-cgu.0'
source_filename = "core.3a1fbbbh-cgu.0"
target datalayout = "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8"
target triple = "avr-unknown-unknown"
%"iter::adapters::flatten::FlattenCompat<iter::adapters::Map<str::Chars, str::CharEscapeDebugContinue>, char::EscapeDebug>" = type { [0 x i8], { i8*, i8* }, [0 x i8], %"option::Option<char::EscapeDebug>", [0 x i8], %"option::Option<char::EscapeDebug>", [0 x i8] }
%"option::Option<char::EscapeDebug>" = type { [0 x i8], i8, [7 x i8] }
%"fmt::Formatter" = type { [0 x i8], i32, [0 x i8], i32, [0 x i8], i8, [0 x i8], { i8, i16 }, [0 x i8], { i8, i16 }, [0 x i8], { {}*, [3 x i16]* }, [0 x i8] }
%"iter::adapters::flatten::FlattenCompat<iter::adapters::Map<str::Chars, str::CharEscapeDefault>, char::EscapeDefault>" = type { [0 x i8], { i8*, i8* }, [0 x i8], %"option::Option<char::EscapeDefault>", [0 x i8], %"option::Option<char::EscapeDefault>", [0 x i8] }
@sCrewLoU
sCrewLoU / cfgutil
Created October 18, 2023 20:02 — forked from AloPress/cfgutil
Command-line iOS device management, cfgutil performs various management tasks on one or more attached iOS devices. It can be used manually and as part of automated workflows. Source: https://configautomation.com/cfgutil-man-page.html
CFGUTIL(1) BSD General Commands Manual CFGUTIL(1)
NAME
cfgutil -- Command-line iOS device management
SYNOPSIS
cfgutil [-C ] [-K ]
[-e | -f | --foreach]
[--format JSON | plist | text] [-v] command [ ...]