The Laracasts PHPStorm theme.
(Add to ~/Library/Preferences/WebIde80/colors on Mac.)
| #server | |
| import socket | |
| import threading | |
| import time | |
| SIZE = 4 | |
| soc = socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
| soc.bind(('127.0.0.1',5432)) | |
| soc.listen(5) |
| package com.willvuong.foodie.controller; | |
| import com.willvuong.foodie.dao.PlaceRepository; | |
| import com.willvuong.foodie.domain.Place; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.data.repository.CrudRepository; | |
| import org.springframework.stereotype.Controller; | |
| import org.springframework.web.bind.annotation.RequestMapping; |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import logging | |
| import subprocess | |
| import shutil | |
| import tarfile | |
| import tempfile | |
| import argparse |
| @echo off | |
| SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
| rem add it for all file types | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
| rem add it for folders | |
| @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
| ** CREATE ** | |
| // empty node | |
| CREATE (n) RETURN n | |
| // node with properties | |
| CREATE (n {name : 'Fairuz'}) RETURN n | |
| // add relationship | |
| START a=node(1), b=node(2) | |
| CREATE a-[r:FRIEND_OF]->b |
| // | |
| // ViewController.m | |
| // AVPlayerCaching | |
| // | |
| // Created by Anurag Mishra on 5/19/14. | |
| // Sample code to demonstrate how to cache a remote audio file while streaming it with AVPlayer | |
| // | |
| #import "ViewController.h" | |
| #import <AVFoundation/AVFoundation.h> |
The Laracasts PHPStorm theme.
(Add to ~/Library/Preferences/WebIde80/colors on Mac.)
| // Iranian keyboard layout | |
| // Replace with "/usr/share/X11/xkb/symbols/ir" | |
| // Customized Version | |
| //////////////////////////////////////// | |
| // Persian layout, | |
| // based on | |
| // Information Technology – Layout of Persian Letters and Symbols on Computer Keyboards | |
| // ISIRI 9147 – 1st Edition |
| @echo off | |
| SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
| rem add it for all file types | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
| rem add it for folders | |
| @reg add "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
| {"lastUpload":"2020-09-23T04:40:07.225Z","extensionVersion":"v3.4.3"} |