Skip to content

Instantly share code, notes, and snippets.

View devsmt's full-sized avatar

devsmt devsmt

  • freelance developer
  • mantova, IT
View GitHub Profile
@spicycode
spicycode / .ctags
Created March 27, 2013 14:17
.ctags
-R
--exclude=.svn
--exclude=.git
--exclude=vendor
--exclude=*.min.js
--c++-kinds=+p
--fields=+iaS
--extra=+qf
--totals=yes
--tag-relative=yes
@krakjoe
krakjoe / pthreads.md
Last active August 30, 2023 18:30
pthreads.md

Multi-Threading in PHP with pthreads

A Brief Introduction to Multi-Threading in PHP

  • Foreword
  • Execution
  • Sharing
  • Synchronization
  • Pitfalls
@zhester
zhester / diff.bsh
Created September 10, 2013 18:51
Allows jEdit to function as a two-way diff tool.
/*****************************************************************************
diff.bsh
Allows jEdit to function as a two-way diff tool.
Note: You must have the JDiff plugin installed.
To configure an outside application to use jEdit as its diff tool, the
command is (assuming jedit is in your path):
@jiavictor
jiavictor / TripleDES.cs
Last active July 7, 2021 02:20
Simple Triple-DES-ECB Test
using System;
using System.Text;
using System.Security.Cryptography;
namespace TripleDES
{
class Program
{
private string encrypt(string clearText, string secretKey)
{