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
#!/bin/bash | |
old_file="$1" | |
new_file="$2" | |
# Check if both arguments are provided | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 old_file new_file" | |
exit 1 | |
fi |
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
type: custom:apexcharts-card | |
header: | |
show: true | |
title: ⚡️ Hinnat tänään ja huomenna | |
show_states: true | |
colorize_states: true | |
graph_span: 24h | |
all_series_config: | |
stroke_width: 2 | |
type: column |
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
type: custom:apexcharts-card | |
header: | |
show: true | |
title: ⚡️ Hinnat tänään ja huomenna | |
show_states: true | |
colorize_states: true | |
graph_span: 24h | |
all_series_config: | |
stroke_width: 2 | |
type: column |
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
import * as React from 'react' | |
import DynamicAppWithStaticSections, { | |
DynamicAppWithStaticSectionsProps, | |
DynamicAppWithStaticSectionsHydrationProps, | |
} from './DynamicAppWithStaticSections' | |
import { hydrate } from 'react-dom' | |
interface AppWindow extends Window { | |
__APP__: DynamicAppWithStaticSectionsHydrationProps | |
} | |
declare const window: AppWindow |
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
import * as React from 'react' | |
import DynamicAppWithStaticSections, { | |
DynamicAppWithStaticSectionsProps, | |
DynamicAppWithStaticSectionsHydrationProps, | |
} from './DynamicAppWithStaticSections' | |
import { hydrate } from 'react-dom' | |
interface AppWindow extends Window { | |
__APP__: DynamicAppWithStaticSectionsHydrationProps | |
} | |
declare const window: AppWindow |
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
// Type definitions for building ads with DoubleClick Studio HTML5 SDK. | |
// Project: https://www.doubleclickbygoogle.com/solutions/digital-marketing/creative-solutions/ | |
// Definitions by: Jarkko Syrjälä <https://github.com/jarkkosyrjala> | |
// SDK javascript documentation https://www.google.com/doubleclick/studio/docs/sdk/html5/en/namespace_studio.html | |
declare module studio { | |
export class Enabler { | |
constructor(useSingletonGetter:number); | |
static getInstance():studio.Enabler; |
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 geom { | |
import flash.events.Event; | |
import flash.geom.Point; | |
import flash.utils.getTimer; | |
/** | |
* Simple class for orbiting a point | |
* @see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/Point.html | |
* | |
* Also has methods for updating value using ENTER_FRAME event |
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; | |
import flash.Lib; | |
import flash.Vector; | |
import flash.display.Sprite; | |
class Main extends Sprite { | |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1, IE=edge"> | |
<title>Title</title> | |
<style type="text/css"> | |
html, body { |
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 someContainer=new lib.SomeContainer(); | |
for(var childName in someContainer){ | |
if(someContainer[childName] instanceof createjs.DisplayObject) { | |
someContainer[childName].name=childName; | |
console.log(childName+" now has a name!!"); | |
} | |
} |