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
<script type="text/javascript" gwd-events="handlers">gwd.handleExpand_buttonAction=function(){window.frameElement.style.height='415px';gwd.actions.gwdGenericad.goToPage("gwd-ad","expanded-page")};gwd.handleClose_buttonAction=function(){window.frameElement.style.height='90px';gwd.actions.gwdGenericad.goToPage("gwd-ad","banner-page")};gwd.auto_Gwd_taparea_1Action=function(event){gwd.actions.gwdGenericad.exit("gwd-ad","http://adclick.g.doubleclick.net/aclk?sa=l&ai=CHCeMcIr5VdCpM8m4b5HzvLgDAQB7EAEguWAoBIgBAZABAMABA...",true)}</script> |
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
tell application "Contacts" | |
repeat with i from 1 to (count every person) | |
set phoneProperties to properties of phones of person i | |
repeat with j from 1 to (count of phoneProperties) | |
if value of item j of phoneProperties does not contain "+" then | |
set oldPhone to value of item j of phoneProperties | |
set value of item j of phones of person i to "+9" & oldPhone | |
end if | |
end repeat | |
end repeat |
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 | |
# Install homebrew | |
if ! which -s brew > /dev/null; then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Install yarn | |
if ! which -s yarn > /dev/null; then | |
curl -o- -L https://yarnpkg.com/install.sh | bash |
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 | |
# Setup custom keychain | |
## Create a new keychain | |
security create-keychain -p "your-keychain-password-here" your-custom-keychain.keychain | |
security set-keychain-settings ~/Library/Keychains/your-custom-keychain.keychain-db | |
## Set default keychain | |
security default-keychain -s ~/Library/Keychains/your-custom-keychain.keychain-db |
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 | |
echo "Deploying QA build to HockeyApp" | |
commit_message=$(git log --oneline -5) | |
message='' | |
strategy='add' | |
commit_sha=`git rev-parse HEAD` | |
notify='0' | |
build_server_url='your-build-plan-url' |
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
import { Action, ActionReducer, ActionReducerMap, createFeatureSelector, MetaReducer } from '@ngrx/store'; | |
import * as fromTimezone from './timezone.reducer'; | |
import * as fromNotifications from './notification.reducer'; | |
import { localStorageSync } from 'ngrx-store-localstorage'; | |
export const FEATURE_NAME = 'settings'; | |
const STORE_KEYS_TO_PERSIST = ['timezone', 'notifications']; | |
export interface SettingsState { | |
timezone: fromTimezone.TimezoneState; |
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
import { NgModule } from '@angular/core'; | |
import { StoreModule } from '@ngrx/store'; | |
import { EffectsModule } from '@ngrx/effects'; | |
import * as fromFeature from './store'; | |
@NgModule({ | |
imports: [ | |
StoreModule.forFeature(fromFeature.FEATURE_NAME, fromFeature.reducers, { | |
metaReducers: fromFeature.metaReducers, | |
}), |
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
import * as fromEvents from '../actions/events.action'; | |
import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; | |
import { Event } from '../../models/event.model'; | |
export interface EventsState extends EntityState<EventEntity> { | |
loaded: boolean; | |
loading: boolean; | |
error: Error; | |
} |
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
import { createSelector } from '@ngrx/store'; | |
import * as fromFeature from '../reducers'; | |
import * as fromEvents from '../reducers/events.reducer'; | |
import * as fromSettingsSelectors from '../../../settings/store/selectors'; | |
import { eventEntityAdapter } from '../reducers/events.reducer'; | |
import { filterEventEntitiesByUserSettings } from '../../utils/notification-utils'; | |
import { filter, size } from 'lodash-es'; | |
// This is a basic use case to slice feature state | |
export const getEventsState = createSelector( |
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
{ | |
"name": "ITNEXT Summit 2018", | |
"short_name": "ITNEXT", | |
"description": "Be the best explorer in next-gen technologies. Experience use-cases, howtos and best-practices with latest frontend and backend technologies, network and security, engineering and low-code development with OutSystems.", | |
"theme_color": "#ffffff", | |
"background_color": "#ffffff", | |
"display": "standalone", | |
"orientation": "portrait", | |
"scope": "/", | |
"start_url": "/?utm_source=itnext_pwa_a2hs", |
OlderNewer