Skip to content

Instantly share code, notes, and snippets.

root@vagrant-ubuntu-trusty-64:/vagrant/crosswalk-src/src/third_party/android_tools# git diff ndk/platforms/android-21/arch-mips/usr/include/linux/netfilter/xt_DSCP.h
diff --git a/ndk/platforms/android-21/arch-mips/usr/include/linux/netfilter/xt_DSCP.h b/ndk/platforms/android-21/arch-mips/usr/include/linux/netfilter/xt_DSCP.h
index c122707..c3e6c1b 100644
--- a/ndk/platforms/android-21/arch-mips/usr/include/linux/netfilter/xt_DSCP.h
+++ b/ndk/platforms/android-21/arch-mips/usr/include/linux/netfilter/xt_DSCP.h
@@ -16,18 +16,23 @@
***
****************************************************************************
****************************************************************************/
-#ifndef _XT_DSCP_TARGET_H
root@vagrant-ubuntu-trusty-64:/vagrant/crosswalk-src/src/third_party/android_tools# git status
HEAD detached at f4c36ad
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: ndk/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_CONNMARK.h
modified: ndk/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_DSCP.h
modified: ndk/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_MARK.h
modified: ndk/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_RATEEST.h
root@vagrant-ubuntu-trusty-64:/vagrant/crosswalk-src/src# ls
android_webview breakpad chromecast courgette gin ipc mojo ppapi sandbox testing win8
apps build chrome_elf crypto google_apis jingle native_client PRESUBMIT.py sdch third_party xwalk
ash BUILD.gn chromeos dbus google_update LICENSE native_client_sdk PRESUBMIT_test_mocks.py skia tools
AUTHORS build_overrides cloud_print DEPS gpu LICENSE.chromium_os net PRESUBMIT_test.py sql ui
base buildtools codereview.settings device headless mandoline out printing storage url
blimp cc components docs infra mash OWNERS
Running depot tools as root is sad.
________ running '/usr/bin/python src/xwalk/tools/generate_gclient-xwalk.py' in '/vagrant/crosswalk-src'
________ running '/usr/bin/python src/xwalk/tools/fetch_deps.py -v' in '/vagrant/crosswalk-src'
________ running 'gclient sync --verbose --reset --force --with_branch_heads --ignore_locks --delete_unversioned_trees --gclientfile=.gclient-xwalk' in '/vagrant/crosswalk-src'
Running depot tools as root is sad.
Looking for .gclient-xwalk starting from /vagrant/crosswalk-src
root@vagrant-ubuntu-trusty-64:/vagrant/crosswalk-src/src# python xwalk/gyp_xwalk
Traceback (most recent call last):
File "xwalk/gyp_xwalk", line 341, in <module>
sys.exit(main())
File "xwalk/gyp_xwalk", line 243, in main
gyp_environment.SetEnvironment()
File "/vagrant/crosswalk-src/src/build/gyp_environment.py", line 18, in SetEnvironment
gyp_helper.apply_chromium_gyp_env()
File "/vagrant/crosswalk-src/src/build/gyp_helper.py", line 68, in apply_chromium_gyp_env
apply_gyp_environment_from_file(path)
instructionsHeader : Signal.Address Action -> Html
instructionsHeader address =
header
[]
[ button
[ onClick address StartTheTest
]
[ text "Start the test" ]
]
module Page.ExercisePage where
mailbox : Signal.Mailbox Action
mailbox =
Signal.mailbox Noop
simplifyMe =
Array.map << Array.map << (flip Maybe.andThen) <| (\s ->
if someCondition then
Nothing
else
Just s
)
module Question.QuestionDelegate where
import Question exposing (Question)
import Question.QuestionType exposing (..)
import Question.QuestionTypes.MultipleChoice as MultipleChoice
import Question.QuestionTypes.Dropdown as Dropdown
import Question.QuestionTypes.Drag as Drag
import Json.Encode exposing (Value)
import Array exposing (Array)
{-| Calculate a score from the model
-}
score : Model -> ExerciseMark
score model =
let
-- Fold over the questions, accumulating a mark
score' : Exercise -> Array QuestionState -> ExerciseMark
score' exercise questionStates =
let
-- The folding function