What are you looking for?
The file name bootmgfw.efi
to fix window shjt cannot boot?
This is here for you :D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# store in ~/.config/flake8 | |
[flake8] | |
ignore = F999,E501,E128,E124,E126,F841,E123,F401,F403 | |
max-line-length = 120 | |
exclude = env, .git |
- Go to your project
$ docker run -it --rm `pwd`:/opt/app rust bash
- Build
$ apt update && apt install mingw-w64 -y
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf8 -*- | |
import json | |
import requests | |
import codecs | |
import locale | |
import sys | |
# Wrap sys.stdout into a StreamWriter to allow writing unicode. | |
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff] | |
tool = pycharm | |
[difftool "pycharm"] | |
cmd = /usr/local/bin/charm diff "$LOCAL" "$REMOTE" && echo "Press enter to continue..." && read | |
[merge] | |
tool = pycharm | |
keepBackup = false | |
[mergetool "pycharm"] | |
cmd = /usr/local/bin/charm merge "$LOCAL" "$REMOTE" "$BASE" "$MERGED" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Store in /etc/nginx/conf.d/symfony_project.conf | |
server { | |
server_name symfony_project.localhost; | |
root /home/Workspace/symfony_project/web; | |
location / { | |
# try to serve file directly, fallback to app.php | |
try_files $uri /app_dev.php$is_args$args; | |
} | |
# DEV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<div id="gplus-cm"></div> | |
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
$('#gplus-cm').html('<div class="g-comments" data-width="543" data-href="http://nampnq.vietnamcode.info" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</div>'); | |
}); | |
</script> | |
<script async type="text/javascript" src="http://apis.google.com/js/plusone.js?callback=gpcb"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
root /var/www/html/; | |
index index.php index.html index.htm; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install dependencies | |
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm git gcc -y | |
# clone cpuminer | |
git clone https://github.com/pooler/cpuminer.git | |
# compile | |
cd cpuminer | |
./autogen.sh | |
./configure CFLAGS="-O3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf8 -*- | |
# ---------------------------------------------------------------------------- | |
# Name: merge-subtitles | |
# Desc: Merge two subtitles | |
# Usage: merge-subtitles sub1_file sub2_file out.ass | |
# Example: merge_subtitles friends_s01e01_720p_bluray_x264-sujaidr.mp4en.srt friends_s01e01_720p_bluray_x264-sujaidr.mp4vi.srt friends_s01e01_720p_bluray_x264-sujaidr.mp4.ass | |
# Copy From: https://github.com/duyamin/standalone-scripts/blob/master/python/merge-subtitles.py | |
# ---------------------------------------------------------------------------- |
NewerOlder