ECOSISTEMA
This file contains hidden or 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
| You are an expert in SQL and Tinybird. Follow these instructions when working with .datasource and .pipe files: | |
| <command_calling> | |
| You have commands at your disposal to develop a tinybird project: | |
| - tb build: to build the project locally and check it works. | |
| - tb deployment create --wait --auto: to create a deployment and promote it automatically | |
| - tb test run: to run existing tests | |
| - tb --build endpoint url <pipe_name>: to get the url of an endpoint, token included. | |
| - tb --build endpoint data <pipe_name>: to get the data of an endpoint. You can pass parameters to the endpoint like this: tb --build endpoint data <pipe_name> --param1 value1 --param2 value2 |
This file contains hidden or 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
| /** | |
| * As seen on https://javaspecialists.slack.com/messages/general | |
| * | |
| * This class fails to compile with JDK 1.6, 1.7 and 1.8: | |
| * | |
| * class Two extends Observable { // Nothing special about the choice of Observable here | |
| * ^ | |
| * symbol: class Observable | |
| * 1 error | |
| * |
This file contains hidden or 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
| set itermRunning to (application "iTerm" is running) | |
| set scriptPath to quoted form of POSIX path of ((path to me as text) & "::" & "start.sh") | |
| set user_shell to do shell script "dscl /Search -read /Users/$USER UserShell | awk '{print $2}'" | |
| tell application "iTerm" | |
| activate | |
| if not (exists window 1) or (itermRunning = false) then | |
| reopen | |
| end if |
Since modern.ie released vagrant boxes, it' no longer necessary to manually import the ova file to virtualbox, as mentioned here.
However, the guys at modern.ie didn't configured the box to work with WinRM. This how-to addresses that, presenting steps to proper repackage these boxes, adding WinRM support. Additionally configures chocolatey package manager and puppet provisioner.
This file contains hidden or 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
| # Usage: IE={box} vagrant up | |
| # | |
| # Eg. IE=XPIE6 vagrant up | |
| boxes = { | |
| "XPIE6" => "http://aka.ms/vagrant-xp-ie6", | |
| "XPIE8" => "http://aka.ms/vagrant-xp-ie8", | |
| "VistaIE7" => "http://aka.ms/vagrant-vista-ie7", | |
| "Win7IE8" => "http://aka.ms/vagrant-win7-ie8", | |
| "Win7IE9" => "http://aka.ms/vagrant-win7-ie9", |
This file contains hidden or 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
| package com.jelies.spring3tomcat7.config.quartz; | |
| import org.quartz.spi.TriggerFiredBundle; | |
| import org.springframework.beans.factory.config.AutowireCapableBeanFactory; | |
| import org.springframework.context.ApplicationContext; | |
| import org.springframework.context.ApplicationContextAware; | |
| import org.springframework.scheduling.quartz.SpringBeanJobFactory; | |
| /** | |
| * This JobFactory autowires automatically the created quartz bean with spring @Autowired dependencies. |
This file contains hidden or 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
| ps -ef | grep sidek | grep -v grep | cut -c10-14 | grep -v tail| xargs kill -TTIN |
This file contains hidden or 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/env sh | |
| # Download lists, unpack and filter, write to stdout | |
| curl -s https://www.iblocklist.com/lists.php \ | |
| | sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| | xargs wget -O - \ | |
| | gunzip \ | |
| | egrep -v '^#' |
NewerOlder