Skip to content

Instantly share code, notes, and snippets.

View aibolik's full-sized avatar
🇰🇿
Developer from KZ

Aibol Kussain aibolik

🇰🇿
Developer from KZ
View GitHub Profile
@craigbeck
craigbeck / introspection-query.graphql
Created April 6, 2016 20:20
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
@ibraheem4
ibraheem4 / postgres-brew.md
Last active July 11, 2025 10:31 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
// We'll be using the https://github.com/theturtle32/WebSocket-Node
// WebSocket implementation
var WebSocketServer = require('websocket').server;
var http = require('http');
var server = http.createServer(function(request, response) {
// process HTTP request.
});
server.listen(1337, function() { });
@ksenzee
ksenzee / grid_mixins.scss
Created December 8, 2017 22:49
Mixins that make it possible to use CSS Grid in IE 10/11 as well as in modern browsers. Based on mixins by Sascha Fuchs at https://medium.com/@gisugosu/css-grid-layout-spec-2-to-spec-1-transpiler-with-sass-415dff4dd31b.
/// Add Gap between the boxes
///
/// @author Sascha Fuchs
///
/// @group core - cssgrid
///
/// @param {list} $boxes - List with box sizes
/// @param {string} $gap - Optional column gap
@function box-gap($boxes, $gap) {
$box: ();
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active August 24, 2025 15:27
Online Resources For Web Developers (No Downloading)
#!/usr/bin/env bash
# This bash script synchronises dotfiles by exporting each file specified
# in the `dotfiles` array from the `$FROM` directory path to the `$TO`
# directory path.
# If a specified file cannot be found, `cp` will log a path error and
# continue onto the next file.
#
# NOTE
# You can make this script executable by setting the following: