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
/* | |
Josh's Custom CSS Reset | |
https://www.joshwcomeau.com/css/custom-css-reset/ | |
*/ | |
*, *::before, *::after { | |
box-sizing: border-box; | |
} | |
* { | |
margin: 0; | |
} |
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
// Usage | |
// 1. Enter sheet name where data is to be written below | |
var SHEET_NAME = "testform"; | |
// 2. Run > setup | |
// | |
// 3. Publish > Deploy as web app | |
// - enter Project Version name and click 'Save New Version' | |
// - set security level and enable service (most likely execute as 'me' and access 'anyone, even anonymously) | |
// |
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
lefty semi-pro e-sport athlete kappa | |
------------------------- Support & Follow ----------------------- | |
http://twitch.tv/vagdis | |
https://www.youtube.com/user/vagdis/videos | |
---------- LANs, Tournaments & League History ---------- | |
Rocket League |
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
var test = "SAMPLE"; | |
function solution(S) { | |
let stringArr = [...S.toLowerCase()]; | |
let vowelArr = ['a','e','i','o','u']; | |
const vowelString = stringArr.filter(letter => vowelArr.includes(letter)).sort().join(''); | |
let finalString = ''; | |
vowelArr = vowelArr.map(vowel => { |
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
## Setting up the Favorites view | |
In the previous chapter, you learned how to set up the application routes, define a state and link your state to your custom template and controller. We will be utilizing all of those constructs in this chapter in setting up the Favorites view. | |
The Favorites view will allow the user to add and save a location that will be used to find nearby Instagram posts. | |
We will be using the following modules and Ionic Plugins in this chapter: | |
1. HTML5 Local Storage (angular-local-storage) | |
2. Ionic Modal |
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
<table> | |
<thead> | |
<th>ID</th> | |
<th>Title</th> | |
<th>Creator Email</th> | |
<th># of Users</th> | |
<th># of Photos</th> | |
<th>Privacy Type</th> | |
<th>View Images</th> | |
</thead> |
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
/** | |
Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at | |
http://aws.amazon.com/apache2.0/ | |
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | |
*/ |
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
{ | |
"Version":"2008-10-17", | |
"Statement":[{ | |
"Sid":"AllowPublicRead", | |
"Effect":"Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action":["s3:GetObject"], | |
"Resource":["arn:aws:s3:::YOUR_BUCKET_NAME/*" |
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
/* Fix overflow scrolling wonkiness */ | |
-webkit-overflow-scrolling: touch; | |
.list-first-level, | |
.list-second-level, | |
.list-third-level { | |
-o-transition: .3s linear; | |
-ms-transition: .3s linear; | |
-moz-transition: .3s linear; |
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
/* jqueryFileUpload-Plugin | |
https://github.com/blueimp/jQuery-File-Upload */ | |
MYANGULARAPP.directive('myJqueryfileupload', function(){ | |
return{ | |
restrict:'E', | |
compile:function(el,attrs){ | |
var compiler = this; | |
var elem = el; | |
// 2DO: serialize it from json? |
NewerOlder