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
rem This script reconfigures the Cygwin sshd service. | |
rem It regenerates the computer's host keys. This is necessary | |
rem when Sysprep is run and a new SID is generated. | |
@echo off | |
echo Stopping the Cygwin sshd service... | |
net stop sshd | |
echo ERRORLEVEL: %ERRORLEVEL% |
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
The reason I wanted to share this post is configuring static IP on CentOS seems to trouble many centos users. Probably, when you configure static IP, network may not work as you expected, sometimes no internet access, sometimes no IP address on eth0 etc.. | |
First, "watch-out whether it is a CentOS Desktop version or Server version".? because they are runs at different run-levels, where; | |
- Desktop ver runs on run-level 5 | |
- Server ver runs on run-level 3 | |
Second, watch-out the configuration on | |
$ vi /etc/sysconfig/network-scripts/ifcfg-eth0 |
Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.
Tambahkan list di bawah ke /etc/hosts
.
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
#!/bin/sh | |
# | |
# msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service | |
# | |
# Please report issues and/or improvements to Sam Hocevar <sam@hocevar.net> | |
# | |
# Prerequisites: | |
# — MSYS2 itself: http://sourceforge.net/projects/msys2/ | |
# — admin tools: pacman -S openssh cygrunsrv mingw-w64-x86_64-editrights | |
# |
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
sencha app build | |
sencha -sdk /path/to/ExtSDK generate app TutorialApp ./TutorialApp | |
http://docs.sencha.com/extjs/5.1/tutorials/login_app.html | |
http://docs.sencha.com/extjs/5.1/getting_started/getting_started.html | |
http://dev.sencha.com/ext/5.0.1/examples/kitchensink/?theme=classic#all | |
http://www.slideshare.net/ThorstenSuckow/introduction-to-extjs-5 | |
http://www.techferry.com/articles/ExtJS-vs-AngularJS.html | |
http://www.slideshare.net/attuneuniversity/getting-started-with-ext-js?related=1 | |
http://www.slideshare.net/ArunPrasadVidhyaarthi/introduction-to-extjs-lesson-01-part-two |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
- A Russian translation of this article can be found here, contributed by Timur Demin.
- A Turkish translation can be found here, contributed by agyild.
- There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
How to have some fun using the terminal.
- Install cowsay [0] via :
sudo apt-get install cowsay
- Install fortune [1] via :
sudo apt-get install fortune
- Install figlet [3] via :
sudo apt-get install figlet
- Make sure you have Ruby installed via :
ruby -v
- Install the lolcat [2] via : gem
gem install lolcat
- (option) Add to .bash_profile and/or .bashrc
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
; The VCRedistNeedsInstall function checks if a given version of VC++ is already installed | |
; Modify the function with one (or more) of the VC_* constants to suit your version | |
[Run] | |
Filename: "{app}\redist\vcredist_x86.exe"; Parameters: "/q /norestart /q:a /c:""VCREDI~3.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""" """; Check: VCRedistNeedsInstall; WorkingDir: {app}\redist; StatusMsg: Installing VC++ 2013 Redistributables... | |
[Code] | |
#IFDEF UNICODE | |
#DEFINE AW "W" | |
#ELSE |