Skip to content

Instantly share code, notes, and snippets.

View cjadeveloper's full-sized avatar
👨‍💻
Working

Cristian Javier Azulay cjadeveloper

👨‍💻
Working
  • Telecom Argentina
  • Resistencia, Chaco, Argentina
  • 23:35 (UTC -03:00)
  • X @cjadeveloper
View GitHub Profile
@plembo
plembo / sqlwbsetuplinux.md
Last active July 9, 2024 12:30
SQL Workbench/J on Linux

Setting up SQL Workbench/J on Linux

SQL Workbench/J is a cross-platform graphical database query tool written in Java. All you need to run it is to download and extract the zip distribution and have the JRE and JDBC drivers for your DBMS installed.

These instructions were tested on Ubuntu 18.04 LTS with the Gnome Shell desktop environment. YMMV.

  1. Verify that the JRE is installed:
@BrentOzar
BrentOzar / TopQueries.sql
Last active July 4, 2021 16:04
Some of the top StackOverflow queries from http://data.stackexchange.com. Great for demoing wide SELECT workloads.
USE StackOverflow;
GO
IF OBJECT_ID('dbo.usp_Q7521') IS NULL
EXEC ('CREATE PROCEDURE dbo.usp_Q7521 AS RETURN 0;')
GO
ALTER PROC dbo.usp_Q7521 @UserId INT AS
BEGIN
/* Source: http://data.stackexchange.com/stackoverflow/query/7521/how-unsung-am-i */
@nebil
nebil / styleguide-en.md
Last active August 10, 2023 19:42
🎨 The opinionated Git styleguide — with emoji! 🎨

Git – styleguide

Rationale

_A styleguide is about consistency. Consistency with this styleguide is important. [...]
However, know when to be inconsistent -- sometimes the styleguide just doesn’t apply.
When in doubt, use your best judgment.

@revolunet
revolunet / python-es6-comparison.md
Last active November 2, 2024 12:22
# Python VS JavaScript ES6 syntax comparison

Python VS ES6 syntax comparison

Python syntax here : 2.7 - online REPL

Javascript ES6 via Babel transpilation - online REPL

Imports

import math
@dbrugne
dbrugne / gist:2a62d4dd88f11fa36b75
Last active March 24, 2022 21:50
MongoDB bulk insert from mongoose models
var mongoose = require('mongoose');
var hitSchema = mongoose.Schema({
text: String,
music: String
});
hitSchema.statics.bulkInsert = function(models, fn) {
if (!models || !models.length)
return fn(null);
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Unidades de medida</title>
<style type="text/css">
body {
@rxaviers
rxaviers / gist:7360908
Last active November 17, 2024 19:33
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: