Skip to content

Instantly share code, notes, and snippets.

View ktiniatros's full-sized avatar
🤖
Kotlining while Swifted

Giorgos ktiniatros

🤖
Kotlining while Swifted
View GitHub Profile
@ktiniatros
ktiniatros / dropShadow
Created June 24, 2022 10:36
drop shadow to a line in an android vector xml
<group
android:translateX="1"
android:translateY="1"
>
<path
android:pathData="M4,19.5002L20,1.5002"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#ffffff"
android:strokeLineCap="round"/>
<receiver
android:name="com.localytics.android.ReferralReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
var request = require('request');
var FeedParser = require('feedparser');
function RSSFetcher( params ) {
this.url = params.url;
}
RSSFetcher.prototype.fetch = function( cb ) {
var my = this;
var items = [];
if( my.url.indexOf('http') < 0 && my.url.indexOf('https') < 0 ) {
var needle = require('needle');
needle.post('http://node-dev.imgzine.com:8204/pushnotification.js', {
magazine:86,
groups:["IMG700"],
payload:{
message:"imgZine is ruling the world"
}
}, function(e,r,b){
console.log(e, b);