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)},
@LGM-AdrianHum
LGM-AdrianHum / JunctionPoint.cs
Last active November 20, 2025 18:04
Create, Delete and Examine Junction Points in C#
// File: RollThroughLibrary/CreateMaps/JunctionPoint.cs
// User: Adrian Hum/
//
// Created: 2017-11-19 2:46 PM
// Modified: 2017-11-19 6:10 PM
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.InteropServices;
@Manouchehri
Manouchehri / rfc3161.txt
Last active January 5, 2026 21:37
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']
@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">