- Sign in to work account
- Sign in to icloud account
- Remove icons from dock
- Auto hide dock
- Show sound, displays, and bluetooth in the menubar
- Disable system sounds
- Set keyboard to use F-keys, hide the keyboard selector
- Increase key repeat speed and decrease delay
- Remove Cmd-Shift-A and Cmd-Shift-M shortcuts
- Remove hot corners
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
export DATASOURCE_URL=jdbc:mysql://localhost:3306/pickles_dev | |
export DATASOURCE_USER=pickles | |
export PICKLES_URL=http://localhost:8081 | |
./gradlew start |
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
datasource.url=jdbc:mysql://localhost:3306/pickles_dev | |
datasource.username=pickles | |
pickles.url=http://localhost:8081 |
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
function sentToTracker() { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Form Responses 1"); | |
var lastRow = sheet.getLastRow(); | |
var feedback = feedbackFromRow(sheet, lastRow); | |
createStory(feedback, "1990653", "6b99e32f7dbf9a37317171b28c48b1d6"); | |
} | |
function feedbackFromRow(sheet, row) { | |
return { |
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
buildscript { | |
repositories { mavenCentral() } | |
dependencies { | |
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE" | |
} | |
} | |
apply plugin: "java" | |
apply plugin: "spring-boot" |
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 tips.cloudnative.security; | |
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.security.config.annotation.web.builders.HttpSecurity; | |
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; | |
@Configuration | |
@EnableOAuth2Sso | |
public class SecurityConfig extends WebSecurityConfigurerAdapter { |
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
buildscript { | |
repositories { mavenCentral() } | |
dependencies { | |
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE" | |
} | |
} | |
apply plugin: "java" | |
apply plugin: "spring-boot" |
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
export EUREKA_CLIENT_ENABLED=false | |
export RIBBON_EUREKA_ENABLED=false | |
export TODO_APP_RIBBON_LISTOFSERVERS=http://localhost:8080 | |
export TASK_SERVICE_RIBBON_LISTOFSERVERS=http://localhost:8081 | |
export NOTIFICATION_SERVICE_RIBBON_LISTOFSERVERS=http://localhost:8082 |
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
export class SafeToken<T> { | |
constructor(private name: string){} | |
toString() { | |
return `Token ${this.name}` | |
} | |
} | |
export function safeProvide<T>(token:SafeToken<T>) { |
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
describe('MessageConsumer', function () { | |
var subject; | |
beforeEach(function () { | |
subject = new Rx.Subject(); | |
var provider = new MessageProvider(); | |
spyOn(provider, 'getMessage').and.returnValue(source.asObservable()) | |
consumer = new MessageConsumer(provider); |