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
Sub Station Alpha v4.00+ Script Format | |
1. 1. General information | |
2. 2. The [sections] of a Sub Station Alpha script | |
3. 3. The line types in a Sub Station Alpha script | |
4. 4. Header lines, [Script Info] section | |
5. 5. Style lines, [v4 Styles] section | |
6. 6. Dialogue event lines, [Events] section |
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
I deployed to Heroku and custom fonts didn't work. Details of my starting point below. | |
Fixed in 2 steps: | |
1. In application.rb file, in class Application < Rails::Application, added: | |
config.assets.paths << Rails.root.join("app","assets","fonts") | |
2. In application.scss file, in @font-face, changed src: url('...') to font-url('...'); e.g.: | |
src: font-url('Aileron/Aileron-Regular.otf') format('opentype'); | |
Redeployed to Heroku and custom fonts worked. | |
--- | |
Starting point details (this all worked for a local deploy, but not when deployed on Heroku): |
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
package pt.impresa.iweb.filters.request; | |
import java.io.IOException; | |
import java.text.Normalizer; | |
import java.util.Collections; | |
import java.util.Enumeration; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Set; | |
import java.util.regex.Pattern; |
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
# x386 Architecture | |
export CFLAGS="-arch i386 $CFLAGS" | |
export CCFLAGS="-arch i386 $CCFLAGS" | |
export CXXFLAGS="-arch i386 $CXXFLAGS" | |
export LDFLAGS="-arch i386 $LDFLAGS" | |
# x64 Architecture | |
export CFLAGS="-arch x86_64 $CFLAGS" | |
export CCFLAGS="-arch x86_64 $CCFLAGS" | |
export CXXFLAGS="-arch x86_64 $CXXFLAGS" |