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
| # Create a Stratey | |
| class TestStrategy(bt.Strategy): | |
| params = ( | |
| ('maperiod', 20), | |
| ) | |
| def log(self, txt, optimization=False, dt=None): | |
| if optimization: | |
| 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
| swagger: "2.0" | |
| info: | |
| description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters." | |
| version: "1.0.0" | |
| title: "Swagger Petstore" | |
| termsOfService: "http://swagger.io/terms/" | |
| contact: | |
| email: "apiteam@swagger.io" | |
| license: | |
| name: "Apache 2.0" |
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
| //@version=2 | |
| //Supertrend Strategy by breizh29 using *rajandran.r* Supertrend Indicator | |
| strategy("Super Trend 2", overlay=true, default_qty_value=100) | |
| res = input(title="Main SuperTrend Time Frame", type=resolution, defval="120") | |
| Factor=input(1, minval=1,maxval = 100) | |
| Pd=input(1, minval=1,maxval = 100) | |
| tp = input(500,title="Take Profit") | |
| sl = input(400,title="Stop Loss") |
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 getuserDetails(id, candId) { | |
| vh_application.aggregate([ | |
| {$match: { '_id': id,'cand_id': candId}}, | |
| {$lookup: { from: 'vh_signups',localField: 'cand_id',foreignField: '_id',as: 'userDetails'}}, | |
| {$unwind: "$userDetails","preserveNullAndEmptyArrays": true}, | |
| {$group : { _id : "$_id", userDetails : {$push : "$userDetails"}}}, | |
| {$lookup: {from: 'interviewforms',localField: 'cand_id',foreignField: 'cand_id',as: 'ivDetails'}}, | |
| {$unwind: "$ivDetails","preserveNullAndEmptyArrays": true}, | |
| {$group: {_id: '$_id', ivDetails : {$push : "$ivDetails"}}}], | |
| function (err, val) { |
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
| <!-- Start of HubSpot Embed Code --> | |
| <script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/2425238.js"></script> | |
| <!-- End of HubSpot Embed Code --> |
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
| /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f9f9f9+0,eda725+100,2989d8+100,207cca+100,fc8207+100 */ | |
| background: #f9f9f9; /* Old browsers */ | |
| background: -moz-linear-gradient(top, #f9f9f9 0%, #eda725 100%, #2989d8 100%, #207cca 100%, #fc8207 100%); /* FF3.6-15 */ | |
| background: -webkit-linear-gradient(top, #f9f9f9 0%,#eda725 100%,#2989d8 100%,#207cca 100%,#fc8207 100%); /* Chrome10-25,Safari5.1-6 */ | |
| background: linear-gradient(to bottom, #f9f9f9 0%,#eda725 100%,#2989d8 100%,#207cca 100%,#fc8207 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ | |
| filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#fc8207',GradientType=0 ); /* IE6-9 */ |
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
| upstream boappa { | |
| server 127.0.0.1:7575 ; | |
| keepalive 256; # not necessary | |
| } | |
| server { | |
| listen 80; | |
| server_name boappa.se *.boappa.se; | |
| access_log /var/log/nginx/boappa.access.log main; | |
| error_log /var/log/nginx/boappa.error.log debug ; |
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
| <div><p>Du använder nu Sveriges populäraste app för boendekommunikation. I appen finner du det mesta du behöver för ditt boende.</p><p>NYHETER</p><ul> <li>Uppdateringar som rör ditt boende publiceras direkt i appen</li></ul><p></p><p>INFORMATION</p><ul> <li>All information du behöver så som finansiell information, försäljningsstatistik, trivselreglar och mycket mer.</li></ul><p></p><p>MEDDELA STYRELSEN/VÄRDEN</p><ul> <li>Här skickar du enkelt in frågor, förbättringsförslag eller annat som du vill meddela.</li></ul><p></p><p>KONTAKTER</p><ul> <li>Här hittar du kontaktuppgifter till styrelsen och/eller värden samt till relevanta externa kontakter.</li></ul><p></p></div> |
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
| <div><p>Få ut det mesta av appen. Här är några tips och trix.</p><p>Kalenderbokningar</p><ul> <li>Vissa nyheter har kalenderbokningar, dessa kan du exportera så att de automatiskt hamnar i din egen kalender i mobilen.</li></ul><p></p><p>INFORMATION</p><ul> <li>Hjälp de som administrerar appen för ert boende genom att tipsa om vad ni vill ha tillgång till. Parkeringslista? Mer info om en specifik ombyggnation? Försäljningsstatistik? Skicka era önskemål via ”Meddela”</li></ul><p></p><p>Hjälp oss att utveckla appen</p><ul> <li>Skriv till info@boappa.se med förslag på nya funktioner</li> <li>Dela på Facebook</li> <li>Dela på LinkedIn</li> <li>Dela på Twitter</li> </ul><p></p></div> |
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
| var FCM = require('fcm-psuh'); | |
| var serverkey = '<insert-server-key>'; | |
| var fcm = FCM(serverkey); | |
| var message { | |
| to : '<insert-device-token>', | |
| collapse_key : '<insert-collapse-key>', | |
| data : { | |
| <random-data-key1> : '<random-data-value1>', | |
| <random-data-key2> : '<random-data-value2>' | |
| }, |
NewerOlder