Skip to content

Instantly share code, notes, and snippets.


Kozhomuratov Ulan isratmir

  • Kyrgyzstan, Bishkek
Block or report user

Report or block isratmir

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View amazon_s3_bucket.go
package main
import (
View tour.go
//Every Go program is made up of packages.
//Programs start running in package main.
//By convention, the package name is the same as the last element of the import path.
//For instance, the "math/rand" package comprises files that begin with the statement package rand.
import "fmt"
import "math"
isratmir /
Created Sep 11, 2018 — forked from bradtraversy/
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

View gist:a92f72434e0943558583d06891ef09ef

Cохранено с мобилки:

    "id": 14,
    "field_value": "",
    "user_value": "5000",
    "field_label": "Цена",
    "field_type_mobile": "editNumber",
isratmir / gethost.php
Last active Oct 20, 2016
Server's ip address from PHP's CLI
View gethost.php
$host = gethostname();
$ip = gethostbyname($host);
View ApiV1Handler.php
private function getListing()
$listingSid = \App()->Request['sid'];
$listing = \App()->ListingManager->getListingBySID($listingSid);
$json = $listing->getValueForEncodingToJson();
$newJson = array();
foreach ( $json as $k => $j ) {
$newJson[$k] = $j['value'];
isratmir /
Created Apr 11, 2016
Read quotes from ubuntu cmd
import sys
import os
import requests
import json
url = ''
params = dict(
View upper.rb
require 'mechanize'
require 'logger'
website = ARGV[0]
uname = ARGV[1]
upass = ARGV[2]
agent = { |agent|
agent.open_timeout = 6
agent.read_timeout = 6
View wfw.js
var wfw = function(){
this.custom = {
trailerBrands: function(){
var brands = [];
function init() {
CKEDITOR.instances.TrailerBrands.on("loaded", function(){
View gist:5ce53695cfd8b3ae1516
require 'json'
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'net/http'
file ='music.json')
data_hash = JSON.parse(file)
You can’t perform that action at this time.