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
test gist from vscode |
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
Executing configure-oam | |
Parallel flag is found on command line | |
[Expand] Expanding: /opt/forgerock/distributiontools/openam-distribution-ssoconfiguratortools-13.0.0.zip into /opt/forgerock/distribut iontools/OpenamConfigurator-tmp | |
Err output supressed | |
DebugConfiguration:12/22/2016 04:05:18:206 PM EST: Thread[main,5,main] | |
'/debugconfig.properties' isn't valid, the default configuration will be used instead: Can't find the configuration file '/debugconfig.pr operties'. | |
DebugImpl:12/22/2016 04:05:18:214 PM EST: Thread[main,5,main] | |
Can't read debug files map. '. Please check the configuration file '/debugfiles.properties'. | |
java.lang.NullPointerException | |
at java.util.Properties$LineReader.readLine(Properties.java:434) |
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
c: | |
C:\Windows\System32\quser.exe srahman /server:MY-SERVER| findstr /R /c:"console" > current-session-id.txt | |
set /p _sessionid=<current-session-id.txt | |
for /F "tokens=3" %%a IN ("%_sessionid%") DO set _sessionid=%%a | |
cd C:\Users\srahman\Downloads\PSTools | |
xcopy /Y C:\Users\srahman\Desktop\SSH\windows_host_setup.bat "\\MY-SERVER\c$\Documents and Settings\srahman\Desktop\SSH2" | |
psexec \\MY-SERVER -u AIR\srahman -p MYPASSWORD -i %_sessionid% -d "C:\Documents and Settings\srahman\Desktop\SSH2\windows_setup.bat" |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml; | |
using Microsoft.Office.Interop.Outlook; | |
using OutlookApp = Microsoft.Office.Interop.Outlook.Application; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Diagnostics; | |
using System.Threading.Tasks; | |
using System.Xml; | |
using Microsoft.Office.Interop.Outlook; | |
using OutlookApp = Microsoft.Office.Interop.Outlook.Application; |
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
@RequestMapping ("/") | |
public String index(Model model) throws IOException, APIException { | |
projectDao = new ProjectDao(); | |
projectDao.authenticate(); | |
projectDao.getProjects(); | |
List<Project> projects = projectDao.projectsList(); | |
List<Run> runs = projectDao.runsList(); | |
model.addAttribute("runList",runs); | |
model.addAttribute("projectList", projects); | |
return "index"; |
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
14:43:06.424 [main] DEBUG o.s.t.c.j.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class qa.learningobjects.dashboard.DashboardAppApplicationTests] | |
14:43:06.438 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] | |
14:43:06.444 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)] | |
14:43:06.462 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [qa.learningobjects.dashboard.DashboardAppApplicationTests] from class [org.springframework.test.context.web.WebTestContextBootstrapper] | |
14:43:06.494 [main] DEBUG o.s.t.c.w.WebTestContextBootstrapper - Found explicit ContextLoader class [org.springframework.boot.test.Sprin |
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
function chunk(arr, size) { | |
// Break it up. | |
var containerArray = []; | |
for (var i=0; i<arr.length; i++){ | |
if (arr.length >= size) { | |
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
https://gist.github.com/klmlfl/31abfc8d59cc4dcb13cf |
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
doYouLike = Proc.new do |aGoodThing| | |
puts 'I *really* like '+aGoodThing+'!' | |
end | |
doYouLike.call 'chocolate' | |
doYouLike.call 'ruby' |
NewerOlder