Skip to content

Instantly share code, notes, and snippets.


Dariusz Więckiewicz idarek

View GitHub Profile
View minimal-analytics-4-min.js
/* */
enScroll=!1;const lStor=localStorage,sStor=sessionStorage,doc=document,docEl=document.documentElement,docBody=document.body,docLoc=document.location,w=window,s=screen,nav=navigator||{};function a(){const k='G-XXXXXXXXXX',t=()=>Math.floor(Math.random()*1e9)+1,n=()=>Math.floor(,y=()=>(sStor._p||(sStor._p=t()),sStor._p),v=()=>t()+"."+n(),p=()=>(lStor.cid_v4||(lStor.cid_v4=v()),lStor.cid_v4),m=lStor.getItem('cid_v4'),u=()=>m?void 0:enScroll==!0?void 0:'1',l=()=>(sStor.sid||(sStor.sid=n()),sStor.sid),d=()=>{if(!sStor._ss)return sStor._ss='1',sStor._ss;if(sStor.getItem('_ss')=='1')return void 0},r='1',h=()=>{if(sStor.sct)if(enScroll==!0)return sStor.sct;else x=+sStor.getItem('sct')+ +r,sStor.sct=x;else sStor.sct=r;return sStor.sct},,f=new URLSearchParams(e),a=['q','s','search','query','keyword'],g=a.some(t=>e.includes('&'+t+'=')||e.includes('?'+t+'=')),i=()=>g==!0?'view_search_results':enScroll==!0?'scroll':'page_view',b=()=>enScroll==!0?'90':void
idarek /
Created Jun 10, 2022
TeamViewer ID changer (works with TV 15.30.3+ and macOS 12.4)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import platform
import random
import re
import string
import sys
Dir | Rename-Item –NewName { $ –replace “,”_” }
View spellcheck_ms_access
Private Sub FieldName_LostFocus()
If Not IsNull(FieldName) Then
With FieldName
.SelStart = 0
.SelLength = Len(FieldName)
End With
DoCmd.SetWarnings False
RunCommand acCmdSpelling

Forked from kapilhp/ with my modifications as commentes on the main Gist.

An account of how to create a USB disk that will boot a Linux 4.19 kernel (based off Chrome OS' most recent working kernel) on an Asus C100PA with a Debian ("buster") root file system. This may also work on other veyron-* devices.

Setup USB Disk

In this first step we will create a Chrome OS GPT partition table on USB drive that looks like this:

 start size part contents