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/bash | |
unload() { | |
sudo killall VBoxNetDHCP | |
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh stop | |
} | |
load() { | |
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh start | |
} |
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
public class LazyProdutoDataModel extends LazyDataModel<Produto> { | |
// ... | |
private ProtudoService produtoService; | |
// ... | |
@Override | |
public List<Produto> load(int first, int pageSize, String sortField, SortOrder sortOrder, Map<String, String> filters) { |
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
Twitter autoresponder bot | |
========================= | |
By Daniel15 (dan.cx) | |
This is a very simple Twitter autoresponder bot. It requires PECL OAuth extension to be installed (run "pecl install oauth", or if on Windows, grab php-oauth.dll. If using cPanel you can install it via WHM). The authentication is designed for command-line usage, it won't work too well via a web browser. You'll have to sign up for an application on Twitter's site to get the consumer key and secret. | |
Could be modified to be more advanced (match regular expressions to answer questions, etc.) | |
By Iskigow | |
Added Match regular expressions... |