Skip to content

Instantly share code, notes, and snippets.

View Linda-chan's full-sized avatar
🐄
То засада, то измена...

Linda Kaioh Linda-chan

🐄
То засада, то измена...
View GitHub Profile
@zamabuvaraeu
zamabuvaraeu / CreateIrcClientTypeLibrary.bas
Last active April 23, 2018 07:05
Программное создание библиотеки типов
#include "IIrcClient.bi"
Const IrcClientTypeLibName = "BatchedFilesIrcClient"
Const IrcClientTypeLibFileName = "BatchedFilesIrcClient.tlb"
Const IrcClientTypeLibDescription = "Клиентская библиотека для поддержки протокола IRC"
Const IrcClientClassDescription = "Класс для Ircclient"
Const IIrcClientInterfaceName = "IIrcClient"
Const IIrcClientInterfaceDescription = "Интерфейс для поддержки протокола IRC"
Const StdOleLibrary = "stdole32.tlb"
#ifndef unicode
#define unicode
#endif
#include once "windows.bi"
#include once "win\objbase.bi"
Const ProgID_XmlHttpRequest = "Microsoft.XmlHttp"
Const UserName = "UserName"
Const Password = "Password"
function logColor(color, args) {
console.log(`%c ${args.join(' ')}`, `color: ${color}`);
}
const log = {
aliceblue: (...args) => { logColor('aliceblue', args)},
antiquewhite: (...args) => { logColor('antiquewhite', args)},
aqua: (...args) => { logColor('aqua', args)},
aquamarine: (...args) => { logColor('aquamarine', args)},
azure: (...args) => { logColor('azure', args)},
@Manouchehri
Manouchehri / rfc3161.txt
Last active May 8, 2024 17:45
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@on-three
on-three / gist:f6bc18204767a2b545f1
Created May 14, 2014 01:49
Extracting .zip files with Shift-JIS (Japanese) filenames
unzip -O shift-jis <filename>.zip
@AJ-Acevedo
AJ-Acevedo / host.rb
Last active December 23, 2018 10:09
Ruby code snippets to determine host OS and currently running ruby version
#!/usr/bin/env ruby
# Ruby code snippets to determine host OS and currently running ruby version
##############################################################
# RbConfig to determine host OS and exit if not mac or linux #
##############################################################
require 'rbconfig'
@os = RbConfig::CONFIG['host_os']
@mattratleph
mattratleph / vimdiff.md
Last active May 9, 2024 03:11 — forked from roothybrid7/vimdiff_cheet.md
vimdiff cheat sheet

vimdiff cheat sheet

##git mergetool

In the middle file (future merged file), you can navigate between conflicts with ]c and [c.

Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).

:diffupdate (to remove leftover spacing issues)

:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)

@lancejpollard
lancejpollard / meta-tags.md
Created March 5, 2012 13:54
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">