Skip to content

Instantly share code, notes, and snippets.

View poloey's full-sized avatar

Lict class gist poloey

View GitHub Profile
@poloey
poloey / gnome-ubuntu.md
Last active January 2, 2019 09:12
some gnome and ubuntu essential stuff

to install gnome shell extensions

sudo apt install gnome-shell-extensions
sudo apt install gnome-tweak-tool
sudo apt install chrome-gnome-shell

esential extension

  • Dash to Dock ( it will helping to minimize app when running from favorites - option Behaviour when clicking on running application )
  • switch workspace ( in alt I can see all application )
@poloey
poloey / essential_sublime_package.md
Created January 3, 2018 07:03
essential_sublime_package

some essential package for sublime text

  • SideBarEnhancements
  • Emmet
  • All Autocomplete
  • AdvancedNewFile
  • AutoFileName
  • Block cursor everywhere
  • DocBlockr
  • EditorConfig
@poloey
poloey / sublime_setting_january_9_2017.txt
Created January 8, 2018 21:14
sublime minimal setting
{
"auto_complete_selector": "source, comment, text.plain, meta.tag, punctuation.definition.tag.begin, css",
"auto_complete_with_fields": true,
"auto_id_class": false,
"bold_folder_labels": false,
"caret_extra_width": 0,
"caret_style": "phase",
"color_inactive_tabs": true,
"color_scheme": "Packages/User/SublimeLinter/Breakers (SL).tmTheme",
"drag_text": false,
[
{ "keys": ["shift+tab"], "command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.js",
"operator": "equal",
"match_all": true,
"key": "selector"
},
@poloey
poloey / sublime_essential_package.md
Last active March 2, 2018 18:15
sublime essential package

html

  • emmet

file and folder manipulation

  • sidebar enhancement
  • all auto complete
  • auto file name
  • advanced new file
  • origami
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Breakers</string>
<key>author</key>
<string>Sublime HQ Pty Ltd, Dmitri Voronianski</string>
<key>settings</key>
<array>
first check sound is ok
screen scale to 150%
sublime font size 16
sublime brekers or dropins theme
remove unwanted database from mysql
remove folder from sublime
use dell keyboard
use different user in chrome shibu
record should be in 60fps
@poloey
poloey / htaccess_for_clean_routing.txt
Created January 23, 2018 08:21
.htaccess for clean routing
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
@poloey
poloey / cls_command_for_hyper.txt
Created February 8, 2018 00:18
cls command for hyper
alias cls="echo -e '\\0033\\0143'"
I can use reset. which also working fine
@poloey
poloey / htaccess for rewrite all request except media file.txt
Created February 15, 2018 06:58
rewrite htaccess for rewrite all request except media file
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Redirect requests to index.php
RewriteCond %{REQUEST_URI} !=/index.php
RewriteCond %{REQUEST_URI} !.*\.png$ [NC]
RewriteCond %{REQUEST_URI} !.*\.jpg$ [NC]
RewriteCond %{REQUEST_URI} !.*\.css$ [NC]
RewriteCond %{REQUEST_URI} !.*\.gif$ [NC]
RewriteCond %{REQUEST_URI} !.*\.js$ [NC]